Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: extensions/browser/app_window/app_window.h

Issue 1172483003: [MacViews] Update AppWindow when the native window changes fullscreen state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@views
Patch Set: Don't remove ChromeNativeAppWindowViews::is_fullscreen_ Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/browser/app_window/app_window.h
diff --git a/extensions/browser/app_window/app_window.h b/extensions/browser/app_window/app_window.h
index 1112d38a035226049dc2c48bfe4bc2912644d13e..2d7fee59fc32d9cd1d3010c64ddefb5887c11147 100644
--- a/extensions/browser/app_window/app_window.h
+++ b/extensions/browser/app_window/app_window.h
@@ -288,6 +288,10 @@ class AppWindow : public content::WebContentsDelegate,
// Transitions to OS fullscreen. See FULLSCREEN_TYPE_OS for more details.
void OSFullscreen();
+ // Called when the OS has made the window fullscreen to ensure AppWindow stays
+ // in sync.
+ void UpdateOSFullscreenState(bool is_fullscreen);
tapted 2015/06/09 06:04:01 nit: Maybe OnOSFullscreenStateChanged? or OnBecame
jackhou1 2015/06/10 05:06:03 Removed.
+
// Transitions to forced fullscreen. See FULLSCREEN_TYPE_FORCED for more
// details.
void ForcedFullscreen();

Powered by Google App Engine
This is Rietveld 408576698