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

Side by Side Diff: ash/common/wm/drag_details.h

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 unified diff | Download patch
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 #ifndef ASH_COMMON_WM_DRAG_DETAILS_H_ 5 #ifndef ASH_COMMON_WM_DRAG_DETAILS_H_
6 #define ASH_COMMON_WM_DRAG_DETAILS_H_ 6 #define ASH_COMMON_WM_DRAG_DETAILS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/wm/wm_types.h" 9 #include "ash/common/wm/wm_types.h"
10 #include "ui/gfx/geometry/rect.h" 10 #include "ui/gfx/geometry/rect.h"
11 #include "ui/wm/public/window_move_client.h" 11 #include "ui/wm/public/window_move_client.h"
12 12
13 namespace aura { 13 namespace aura {
14 class Window; 14 class Window;
15 } 15 }
16 16
17 namespace ash { 17 namespace ash {
18 18
19 class WmWindow;
20
19 namespace wm { 21 namespace wm {
20 class WmWindow;
21 class WindowState; 22 class WindowState;
22 } 23 }
23 24
24 struct ASH_EXPORT DragDetails { 25 struct ASH_EXPORT DragDetails {
25 DragDetails(wm::WmWindow* window, 26 DragDetails(WmWindow* window,
26 const gfx::Point& location, 27 const gfx::Point& location,
27 int window_component, 28 int window_component,
28 // TODO(sky): make wm type. 29 // TODO(sky): make wm type.
29 aura::client::WindowMoveSource source); 30 aura::client::WindowMoveSource source);
30 ~DragDetails(); 31 ~DragDetails();
31 32
32 ash::wm::WindowStateType initial_state_type; 33 ash::wm::WindowStateType initial_state_type;
33 34
34 // Initial bounds of the window in parent coordinates. 35 // Initial bounds of the window in parent coordinates.
35 const gfx::Rect initial_bounds_in_parent; 36 const gfx::Rect initial_bounds_in_parent;
(...skipping 26 matching lines...) Expand all
62 // Source of the event initiating the drag. 63 // Source of the event initiating the drag.
63 const aura::client::WindowMoveSource source; 64 const aura::client::WindowMoveSource source;
64 65
65 // True if the window should attach to the shelf after releasing. 66 // True if the window should attach to the shelf after releasing.
66 bool should_attach_to_shelf; 67 bool should_attach_to_shelf;
67 }; 68 };
68 69
69 } // namespace ash 70 } // namespace ash
70 71
71 #endif // ASH_COMMON_WM_DRAG_DETAILS_H_ 72 #endif // ASH_COMMON_WM_DRAG_DETAILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698