OLD | NEW |
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_WM_DRAG_DETAILS_H_ |
6 #define ASH_COMMON_WM_DRAG_DETAILS_H_ | 6 #define ASH_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/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 ash { | 13 namespace ash { |
14 | 14 |
15 class WmWindow; | 15 class WmWindow; |
16 | 16 |
17 struct ASH_EXPORT DragDetails { | 17 struct ASH_EXPORT DragDetails { |
18 DragDetails(WmWindow* window, | 18 DragDetails(WmWindow* window, |
19 const gfx::Point& location, | 19 const gfx::Point& location, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 // Source of the event initiating the drag. | 55 // Source of the event initiating the drag. |
56 const aura::client::WindowMoveSource source; | 56 const aura::client::WindowMoveSource source; |
57 | 57 |
58 // True if the window should attach to the shelf after releasing. | 58 // True if the window should attach to the shelf after releasing. |
59 bool should_attach_to_shelf; | 59 bool should_attach_to_shelf; |
60 }; | 60 }; |
61 | 61 |
62 } // namespace ash | 62 } // namespace ash |
63 | 63 |
64 #endif // ASH_COMMON_WM_DRAG_DETAILS_H_ | 64 #endif // ASH_WM_DRAG_DETAILS_H_ |
OLD | NEW |