mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
chrome: Standardize fullscreen transition behavor/callbacks (fixes #3571)
Use the same code path for all fullscreen transitions so that Chrome UI updates correctly. All user-initiated fullscreen transitions now result in CefWindowDelegate::OnWindowFullscreenTransition callbacks.
This commit is contained in:
@ -132,6 +132,7 @@ class CefWindowImpl
|
||||
void MenuClosed();
|
||||
|
||||
views::Widget* widget() const { return widget_; }
|
||||
bool initialized() const { return initialized_; }
|
||||
|
||||
private:
|
||||
// Create a new implementation object.
|
||||
@ -146,10 +147,13 @@ class CefWindowImpl
|
||||
// Initialize the Widget.
|
||||
void CreateWidget(gfx::AcceleratedWidget parent_widget);
|
||||
|
||||
views::Widget* widget_;
|
||||
views::Widget* widget_ = nullptr;
|
||||
|
||||
// True if the window has been initialized.
|
||||
bool initialized_ = false;
|
||||
|
||||
// True if the window has been destroyed.
|
||||
bool destroyed_;
|
||||
bool destroyed_ = false;
|
||||
|
||||
// The currently active menu model and runner.
|
||||
CefRefPtr<CefMenuModelImpl> menu_model_;
|
||||
|
Reference in New Issue
Block a user