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

Unified Diff: ash/wm/workspace/workspace.h

Issue 11830008: ash/immersive mode: Hide the launcher when entering immersive mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: window property Created 7 years, 11 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: ash/wm/workspace/workspace.h
diff --git a/ash/wm/workspace/workspace.h b/ash/wm/workspace/workspace.h
index 575a3683ebda79af79e6c9883d96c9689fbff914..b94f59510946f1df5aded00e342d74a2caf1060b 100644
--- a/ash/wm/workspace/workspace.h
+++ b/ash/wm/workspace/workspace.h
@@ -63,6 +63,11 @@ class ASH_EXPORT Workspace {
// would be maximized on restore). This does not consider visibility.
int GetNumMaximizedWindows() const;
+ // Returns true if any window in the workspace is in immersive mode. Merely
+ // checking the active window is not sufficient, as the active window may be
+ // a dialog, panel, etc.
+ bool IsImmersiveMode() const;
+
private:
// Is this a workspace for maximized windows?
const bool is_maximized_;

Powered by Google App Engine
This is Rietveld 408576698