mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 72.0.3615.0 (#609159)
- The |category| value for all TRACE calls from CEF client applications is now "cef.client" due to https://crrev.com/331266377d. - The |with_menu_marker| parameter to CreateMenuButton has been removed due to https://crrev.com/7f7e382118.
This commit is contained in:
@@ -13,18 +13,15 @@
|
||||
CefRefPtr<CefMenuButton> CefMenuButton::CreateMenuButton(
|
||||
CefRefPtr<CefMenuButtonDelegate> delegate,
|
||||
const CefString& text,
|
||||
bool with_frame,
|
||||
bool with_menu_marker) {
|
||||
return CefMenuButtonImpl::Create(delegate, text, with_frame,
|
||||
with_menu_marker);
|
||||
bool with_frame) {
|
||||
return CefMenuButtonImpl::Create(delegate, text, with_frame);
|
||||
}
|
||||
|
||||
// static
|
||||
CefRefPtr<CefMenuButtonImpl> CefMenuButtonImpl::Create(
|
||||
CefRefPtr<CefMenuButtonDelegate> delegate,
|
||||
const CefString& text,
|
||||
bool with_frame,
|
||||
bool with_menu_marker) {
|
||||
bool with_frame) {
|
||||
CEF_REQUIRE_UIT_RETURN(nullptr);
|
||||
DCHECK(delegate);
|
||||
if (!delegate)
|
||||
@@ -36,7 +33,6 @@ CefRefPtr<CefMenuButtonImpl> CefMenuButtonImpl::Create(
|
||||
if (with_frame) {
|
||||
menu_button->root_view()->SetStyleDeprecated(views::Button::STYLE_BUTTON);
|
||||
}
|
||||
menu_button->root_view()->set_show_menu_marker(with_menu_marker);
|
||||
return menu_button;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user