mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 90.0.4430.0 (#857950)
- Linux ARM builds require use_vaapi=false (see https://crbug.com/1185348) - Windows official builds require use_thin_lto=false (see https://crbug.com/1177001)
This commit is contained in:
@ -13,13 +13,10 @@
|
||||
#include "include/cef_menu_model_delegate.h"
|
||||
|
||||
#include "base/threading/platform_thread.h"
|
||||
#include "third_party/blink/public/mojom/context_menu/context_menu.mojom-forward.h"
|
||||
#include "ui/base/models/menu_model.h"
|
||||
#include "ui/gfx/font_list.h"
|
||||
|
||||
namespace content {
|
||||
struct MenuItem;
|
||||
}
|
||||
|
||||
class CefMenuModelImpl : public CefMenuModel {
|
||||
public:
|
||||
class Delegate {
|
||||
@ -176,7 +173,7 @@ class CefMenuModelImpl : public CefMenuModel {
|
||||
bool VerifyRefCount();
|
||||
|
||||
// Helper for adding custom menu items originating from the renderer process.
|
||||
void AddMenuItem(const content::MenuItem& menu_item);
|
||||
void AddMenuItem(const blink::mojom::CustomContextMenuItem& menu_item);
|
||||
|
||||
ui::MenuModel* model() const { return model_.get(); }
|
||||
|
||||
|
Reference in New Issue
Block a user