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

Side by Side Diff: ash/wm/default_window_resizer.cc

Issue 1921353002: Moves handful of files to ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shell_ids
Patch Set: merge to trunk Created 4 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 unified diff | Download patch
« no previous file with comments | « ash/wm/default_window_resizer.h ('k') | ash/wm/dock/dock_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/wm/default_window_resizer.h" 5 #include "ash/wm/default_window_resizer.h"
6 6
7 #include "ash/wm/common/window_state.h"
7 #include "ash/wm/common/wm_globals.h" 8 #include "ash/wm/common/wm_globals.h"
8 #include "ash/wm/common/wm_window.h" 9 #include "ash/wm/common/wm_window.h"
9 #include "ash/wm/window_state.h"
10 10
11 namespace ash { 11 namespace ash {
12 12
13 DefaultWindowResizer::~DefaultWindowResizer() { 13 DefaultWindowResizer::~DefaultWindowResizer() {
14 globals_->UnlockCursor(); 14 globals_->UnlockCursor();
15 } 15 }
16 16
17 // static 17 // static
18 DefaultWindowResizer* 18 DefaultWindowResizer*
19 DefaultWindowResizer::Create(wm::WindowState* window_state) { 19 DefaultWindowResizer::Create(wm::WindowState* window_state) {
(...skipping 25 matching lines...) Expand all
45 45
46 DefaultWindowResizer::DefaultWindowResizer(wm::WindowState* window_state) 46 DefaultWindowResizer::DefaultWindowResizer(wm::WindowState* window_state)
47 : WindowResizer(window_state), 47 : WindowResizer(window_state),
48 did_move_or_resize_(false), 48 did_move_or_resize_(false),
49 globals_(GetTarget()->GetGlobals()) { 49 globals_(GetTarget()->GetGlobals()) {
50 DCHECK(details().is_resizable); 50 DCHECK(details().is_resizable);
51 globals_->LockCursor(); 51 globals_->LockCursor();
52 } 52 }
53 53
54 } // namespace aura 54 } // namespace aura
OLDNEW
« no previous file with comments | « ash/wm/default_window_resizer.h ('k') | ash/wm/dock/dock_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698