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

Unified Diff: ash/wm/default_window_resizer.h

Issue 1898223002: Removes most aura dependencies from WindowResizer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_aura_from_window_state
Patch Set: comment Created 4 years, 8 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/default_window_resizer.h
diff --git a/ash/wm/default_window_resizer.h b/ash/wm/default_window_resizer.h
index fbf75ec9755475c7cbf38e7a6b3e7f8686afbce0..737d705dfa2310e1d9b0cf4a7de8bc8bb9448559 100644
--- a/ash/wm/default_window_resizer.h
+++ b/ash/wm/default_window_resizer.h
@@ -10,6 +10,9 @@
#include "base/macros.h"
namespace ash {
+namespace wm {
+class WmGlobals;
+}
// WindowResizer is used by ToplevelWindowEventFilter to handle dragging, moving
// or resizing a window. All coordinates passed to this are in the parent
@@ -40,6 +43,8 @@ class ASH_EXPORT DefaultWindowResizer : public WindowResizer {
// Set to true once Drag() is invoked and the bounds of the window change.
bool did_move_or_resize_;
+ wm::WmGlobals* globals_;
+
DISALLOW_COPY_AND_ASSIGN(DefaultWindowResizer);
};

Powered by Google App Engine
This is Rietveld 408576698