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

Unified Diff: ash/wm/maximize_mode/maximize_mode_window_state.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
Index: ash/wm/maximize_mode/maximize_mode_window_state.h
diff --git a/ash/wm/maximize_mode/maximize_mode_window_state.h b/ash/wm/maximize_mode/maximize_mode_window_state.h
index fd7f95fafb7b2005d5e1689b783e4e844319da95..ad53f2b5012a4b28ed1834aa1ed0803dad7e3ad0 100644
--- a/ash/wm/maximize_mode/maximize_mode_window_state.h
+++ b/ash/wm/maximize_mode/maximize_mode_window_state.h
@@ -12,6 +12,7 @@
namespace ash {
class MaximizeModeWindowManager;
+class WmWindow;
// The MaximizeModeWindowState implementation which reduces all possible window
// states to minimized and maximized. If a window cannot be maximized it will be
@@ -26,8 +27,7 @@ class MaximizeModeWindowState : public wm::WindowState::State {
// state handler. Upon destruction it will restore the previous state handler
// and call |creator::WindowStateDestroyed()| to inform that the window mode
// was reverted to the old window manager.
- MaximizeModeWindowState(aura::Window* window,
- MaximizeModeWindowManager* creator);
+ MaximizeModeWindowState(WmWindow* window, MaximizeModeWindowManager* creator);
~MaximizeModeWindowState() override;
// Leaves the maximize mode by reverting to previous state object.
@@ -68,7 +68,7 @@ class MaximizeModeWindowState : public wm::WindowState::State {
std::unique_ptr<wm::WindowState::State> old_state_;
// The state object for this object which owns this instance.
- aura::Window* window_;
+ WmWindow* window_;
// The creator which needs to be informed when this state goes away.
MaximizeModeWindowManager* creator_;
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_window_manager.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698