mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
views: Support styling of menus (issue #2102)
This commit is contained in:
@@ -341,6 +341,12 @@ void RootWindowViews::OnTakeFocus(bool next) {
|
||||
window_->TakeFocus(next);
|
||||
}
|
||||
|
||||
void RootWindowViews::OnBeforeContextMenu(CefRefPtr<CefMenuModel> model) {
|
||||
CEF_REQUIRE_UI_THREAD();
|
||||
if (window_)
|
||||
window_->OnBeforeContextMenu(model);
|
||||
}
|
||||
|
||||
void RootWindowViews::CreateClientHandler(const std::string& url) {
|
||||
DCHECK(!client_handler_);
|
||||
|
||||
|
Reference in New Issue
Block a user