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

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: Bug fix to switch normal vs status levels. 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 e7a8ffdcbea408aaf106221828c38da099a363b7..db91ab29064f66f1ebe1d2fb4ad9a2832a3f5b9d 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);
+
// BrowserWindow overrides.
virtual void Show() OVERRIDE;
virtual void ShowInactive() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698