mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
mac: views: Always initialize CommandDispatcher (see #3188)
ChromeCommandDispatcherDelegate forwards accelerator events to the FocusManager through NativeWidgetMacNSWindowHost:: HandleAccelerator. Always initialize it so that accelerators also work in a CefWindow without a BrowserView.
This commit is contained in:
committed by
Marshall Greenblatt
parent
5e348cb1fc
commit
1fd6000c70
@@ -52,6 +52,7 @@ class CefNativeWidgetMac : public views::NativeWidgetMac {
|
||||
bool IsCefWindowInitialized() const;
|
||||
|
||||
raw_ptr<BrowserView, AcrossTasksDanglingUntriaged> browser_view_ = nullptr;
|
||||
bool initialized_ = false;
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_BROWSER_VIEWS_NATIVE_WIDGET_MAC_H_
|
||||
|
Reference in New Issue
Block a user