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

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

Issue 100903002: Ignore fullscreen windows which are behind other windows for fullscreen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments. Created 7 years 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_layout_manager.h
diff --git a/ash/wm/workspace/workspace_layout_manager.h b/ash/wm/workspace/workspace_layout_manager.h
index e1781b849c71d63baa30ff332177d752f27dad0c..f0a919b9f622ebc80ca9c890db584679112af8b9 100644
--- a/ash/wm/workspace/workspace_layout_manager.h
+++ b/ash/wm/workspace/workspace_layout_manager.h
@@ -55,6 +55,7 @@ class ASH_EXPORT WorkspaceLayoutManager : public BaseLayoutManager {
virtual void OnWindowPropertyChanged(aura::Window* window,
const void* key,
intptr_t old) OVERRIDE;
+ virtual void OnWindowStackingChanged(aura::Window* window) OVERRIDE;
// ash::WindowSettings::Observer overrides:
virtual void OnTrackedByWorkspaceChanged(wm::WindowState* window_state,
@@ -76,7 +77,8 @@ class ASH_EXPORT WorkspaceLayoutManager : public BaseLayoutManager {
void AdjustWindowBoundsWhenAdded(wm::WindowState* window_state);
- void UpdateDesktopVisibility();
+ void UpdateShelfVisibility();
+ void UpdateFullscreenState();
pkotwicz 2013/12/05 20:50:10 Methods without comments are evil
flackr 2013/12/05 21:39:16 Done.
// Updates the bounds of the window for a show state change from
// |last_show_state|.
@@ -101,6 +103,9 @@ class ASH_EXPORT WorkspaceLayoutManager : public BaseLayoutManager {
// workspace switch.
gfx::Rect work_area_in_parent_;
+ // True if this workspace is currently in fullscreen mode.
+ bool is_fullscreen_;
+
DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager);
};

Powered by Google App Engine
This is Rietveld 408576698