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

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

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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/window_resizer.h ('k') | ash/wm/window_state.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/common/wm/window_resizer.h" 5 #include "ash/wm/window_resizer.h"
6 6
7 #include "ash/common/wm/dock/docked_window_layout_manager.h" 7 #include "ash/wm/dock/docked_window_layout_manager.h"
8 #include "ash/common/wm/root_window_finder.h" 8 #include "ash/wm/root_window_finder.h"
9 #include "ash/common/wm/window_positioning_utils.h" 9 #include "ash/wm/window_positioning_utils.h"
10 #include "ash/common/wm/window_state.h" 10 #include "ash/wm/window_state.h"
11 #include "ash/common/wm_window.h" 11 #include "ash/wm_window.h"
12 #include "ui/base/hit_test.h" 12 #include "ui/base/hit_test.h"
13 #include "ui/base/ui_base_types.h" 13 #include "ui/base/ui_base_types.h"
14 #include "ui/display/display.h" 14 #include "ui/display/display.h"
15 #include "ui/display/screen.h" 15 #include "ui/display/screen.h"
16 #include "ui/gfx/geometry/rect.h" 16 #include "ui/gfx/geometry/rect.h"
17 17
18 namespace ash { 18 namespace ash {
19 19
20 namespace { 20 namespace {
21 21
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 if (height > max_height) { 320 if (height > max_height) {
321 height = max_height; 321 height = max_height;
322 *delta_y = -y_multiplier * 322 *delta_y = -y_multiplier *
323 (details().initial_bounds_in_parent.height() - max_height); 323 (details().initial_bounds_in_parent.height() - max_height);
324 } 324 }
325 } 325 }
326 return height; 326 return height;
327 } 327 }
328 328
329 } // namespace ash 329 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/window_resizer.h ('k') | ash/wm/window_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698