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

Unified Diff: ash/wm/maximize_mode/maximize_mode_window_state.h

Issue 2895713002: [mus+ash] Removes WmWindow from ash/wm/mru_window_tracker and overview mode (Closed)
Patch Set: Address nits, unit_tests target compiles Created 3 years, 7 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 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_;

Powered by Google App Engine
This is Rietveld 408576698