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

Unified Diff: chrome/browser/ui/panels/panel.h

Issue 8686012: Make panels not show on top when there is an app running in full screen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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: chrome/browser/ui/panels/panel.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index 10d2861d0e379b8940cfe3d25f53ab732598e17b..a8974376ad6cf325bb0283235a454cc610676378 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -60,6 +60,13 @@ class Panel : public BrowserWindow,
bool IsDrawingAttention() const;
+ // This function will only get called by PanelManager when full screen mode
+ // changes i.e it gets called when an app goes into full screen mode or when
+ // an app exits full screen mode. Panel should respond by making sure
+ // a) it does not go on top when some app enters full screen mode.
+ // b) it remains on top when an app exits full screen mode.
+ void FullScreenModeChanged(bool is_full_screen_mode_on);
Dmitry Titov 2011/11/30 01:35:53 btw, here naming is ok.
prasadt 2011/11/30 02:38:47 ok
+
// BrowserWindow overrides.
virtual void Show() OVERRIDE;
virtual void ShowInactive() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698