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

Unified Diff: ash/wm/window_state.h

Issue 38073004: Not moving a docked window when restoring a previously maximized window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Not moving a docked window when restoring a previously maximized window (delegating IsDocked to non… Created 7 years, 2 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/window_state.h
diff --git a/ash/wm/window_state.h b/ash/wm/window_state.h
index 04df1072ca7d3af0e2268e7aaef49a7b67d49142..a1c0615b62580f94a65cdf3fd37cb36671c8fe2d 100644
--- a/ash/wm/window_state.h
+++ b/ash/wm/window_state.h
@@ -65,6 +65,7 @@ class ASH_EXPORT WindowState : public aura::WindowObserver {
// SHOW_STATE_DEFAULT.
bool IsNormalShowState() const;
bool IsActive() const;
+ bool IsDocked() const;
// Checks if the window can change its state accordingly.
bool CanMaximize() const;

Powered by Google App Engine
This is Rietveld 408576698