views: Support styling of menus (issue #2102)

This commit is contained in:
Marshall Greenblatt
2017-02-25 00:03:31 -05:00
parent b08f0ed713
commit 8fa8af357b
23 changed files with 1124 additions and 65 deletions

View File

@@ -86,6 +86,7 @@ class ViewsWindow : public CefBrowserViewDelegate,
bool canGoForward);
void SetDraggableRegions(const std::vector<CefDraggableRegion>& regions);
void TakeFocus(bool next);
void OnBeforeContextMenu(CefRefPtr<CefMenuModel> model);
// CefBrowserViewDelegate methods:
bool OnPopupBrowserViewCreated(
@@ -164,6 +165,7 @@ class ViewsWindow : public CefBrowserViewDelegate,
CefRefPtr<CefMenuModel> button_menu_model_;
CefRefPtr<ViewsMenuBar> top_menu_bar_;
bool menu_has_focus_;
int last_focused_view_;
CefSize minimum_window_size_;