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

Unified Diff: ash/common/wm/default_window_resizer.cc

Issue 2035543004: Shuffles and renames ash/common/wm classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: random changes for chrome tests 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/common/wm/default_window_resizer.cc
diff --git a/ash/common/wm/default_window_resizer.cc b/ash/common/wm/default_window_resizer.cc
index bae8f079b60409fb852fa95597b055d493a3b1f7..6a6102ae152f55dff56d8e290936b071f113cc58 100644
--- a/ash/common/wm/default_window_resizer.cc
+++ b/ash/common/wm/default_window_resizer.cc
@@ -5,13 +5,13 @@
#include "ash/common/wm/default_window_resizer.h"
#include "ash/common/wm/window_state.h"
-#include "ash/common/wm/wm_globals.h"
-#include "ash/common/wm/wm_window.h"
+#include "ash/common/wm_shell.h"
+#include "ash/common/wm_window.h"
namespace ash {
DefaultWindowResizer::~DefaultWindowResizer() {
- globals_->UnlockCursor();
+ shell_->UnlockCursor();
}
// static
@@ -45,9 +45,9 @@ void DefaultWindowResizer::RevertDrag() {
DefaultWindowResizer::DefaultWindowResizer(wm::WindowState* window_state)
: WindowResizer(window_state),
did_move_or_resize_(false),
- globals_(GetTarget()->GetGlobals()) {
+ shell_(GetTarget()->GetShell()) {
DCHECK(details().is_resizable);
- globals_->LockCursor();
+ shell_->LockCursor();
}
} // namespace aura

Powered by Google App Engine
This is Rietveld 408576698