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 7cadc5f6a8a0e08dc21ec601701b641e2c858be7..4ab3d5a2712149ba11213ba2c69f1a9c0c6cc658 100644 |
--- a/ash/wm/maximize_mode/maximize_mode_window_state.h |
+++ b/ash/wm/maximize_mode/maximize_mode_window_state.h |
@@ -12,7 +12,6 @@ |
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 |
@@ -27,7 +26,8 @@ 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(WmWindow* window, MaximizeModeWindowManager* creator); |
+ MaximizeModeWindowState(aura::Window* window, |
+ MaximizeModeWindowManager* creator); |
~MaximizeModeWindowState() override; |
void set_ignore_wm_events(bool ignore) { ignore_wm_events_ = ignore; } |
@@ -69,8 +69,8 @@ class MaximizeModeWindowState : public wm::WindowState::State { |
// The original state object of the window. |
std::unique_ptr<wm::WindowState::State> old_state_; |
- // The state object for this object which owns this instance. |
- WmWindow* window_; |
+ // The window whose WindowState owns this instance. |
+ aura::Window* window_; |
// The creator which needs to be informed when this state goes away. |
MaximizeModeWindowManager* creator_; |