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

Unified Diff: ash/wm/panels/panel_layout_manager.h

Issue 844763006: Change overview mode to so that docked panel windows are not grouped together. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved restore window animation out of the ScopedTransformOverviewWindow destructor. Created 5 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/panels/panel_layout_manager.h
diff --git a/ash/wm/panels/panel_layout_manager.h b/ash/wm/panels/panel_layout_manager.h
index dc258da71bdfbf57cc73ba3683405e29a57f6094..635c6a62a78b0e4512282d767472793d7e9e116c 100644
--- a/ash/wm/panels/panel_layout_manager.h
+++ b/ash/wm/panels/panel_layout_manager.h
@@ -95,6 +95,8 @@ class ASH_EXPORT PanelLayoutManager
void OnShelfIconPositionsChanged() override;
// Overridden from ShellObserver
+ void OnOverviewModeStarting() override;
+ void OnOverviewModeEnding() override;
void OnShelfAlignmentChanged(aura::Window* root_window) override;
// Overridden from aura::WindowObserver
@@ -191,6 +193,9 @@ class ASH_EXPORT PanelLayoutManager
aura::Window* last_active_panel_;
base::WeakPtrFactory<PanelLayoutManager> weak_factory_;
+ // Track whether overview mode is active. Used to suppress layouts when it is.
+ bool overview_mode_active_;
+
DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager);
};

Powered by Google App Engine
This is Rietveld 408576698