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

Unified Diff: ash/common/wm_window.h

Issue 2091263004: Moves a couple of the maximize mode classes to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 6 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
« no previous file with comments | « ash/aura/wm_window_aura.cc ('k') | ash/mus/bridge/wm_window_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_window.h
diff --git a/ash/common/wm_window.h b/ash/common/wm_window.h
index d94b606f931270db83388b98280ec51c27439ca3..5fa3c26d81a4e45aab23ce5e4c8bea61fa75bc25 100644
--- a/ash/common/wm_window.h
+++ b/ash/common/wm_window.h
@@ -191,6 +191,13 @@ class ASH_EXPORT WmWindow {
virtual void SetRestoreShowState(ui::WindowShowState show_state) = 0;
+ // Sets the restore bounds and show state overrides. These values take
+ // precedence over the restore bounds and restore show state (if set).
+ // If |bounds_override| is empty the values are cleared.
+ virtual void SetRestoreOverrides(
+ const gfx::Rect& bounds_override,
+ ui::WindowShowState window_state_override) = 0;
+
// If |value| is true the window can not be moved to another root, regardless
// of the bounds set on it.
virtual void SetLockedToRoot(bool value) = 0;
« no previous file with comments | « ash/aura/wm_window_aura.cc ('k') | ash/mus/bridge/wm_window_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698