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

Side by Side Diff: ash/wm/drag_details.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/drag_details.h ('k') | ash/wm/drag_window_resizer.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/drag_details.h" 5 #include "ash/wm/drag_details.h"
6 6
7 #include "ash/common/wm/window_resizer.h"
8 #include "ash/common/wm_window.h"
9 #include "ash/public/cpp/window_properties.h" 7 #include "ash/public/cpp/window_properties.h"
8 #include "ash/wm/window_resizer.h"
9 #include "ash/wm_window.h"
10 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
11 #include "ui/base/hit_test.h" 11 #include "ui/base/hit_test.h"
12 #include "ui/compositor/layer.h" 12 #include "ui/compositor/layer.h"
13 13
14 namespace ash { 14 namespace ash {
15 15
16 namespace { 16 namespace {
17 17
18 int GetSizeChangeDirectionForWindowComponent(int window_component) { 18 int GetSizeChangeDirectionForWindowComponent(int window_component) {
19 int size_change_direction = WindowResizer::kBoundsChangeDirection_None; 19 int size_change_direction = WindowResizer::kBoundsChangeDirection_None;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 wm::WindowState* window_state = window->GetWindowState(); 71 wm::WindowState* window_state = window->GetWindowState();
72 if ((window_state->IsNormalOrSnapped() || window_state->IsDocked()) && 72 if ((window_state->IsNormalOrSnapped() || window_state->IsDocked()) &&
73 window_state->HasRestoreBounds() && window_component == HTCAPTION) { 73 window_state->HasRestoreBounds() && window_component == HTCAPTION) {
74 restore_bounds = window_state->GetRestoreBoundsInScreen(); 74 restore_bounds = window_state->GetRestoreBoundsInScreen();
75 } 75 }
76 } 76 }
77 77
78 DragDetails::~DragDetails() {} 78 DragDetails::~DragDetails() {}
79 79
80 } // namespace ash 80 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/drag_details.h ('k') | ash/wm/drag_window_resizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698