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

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

Issue 2018753003: Moves ash/wm/common back into ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove BUILD.gn again 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
« no previous file with comments | « ash/wm/common/dock/docked_window_resizer.h ('k') | ash/wm/common/fullscreen_window_finder.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 #ifndef ASH_WM_COMMON_DRAG_DETAILS_H_ 5 #ifndef ASH_WM_COMMON_DRAG_DETAILS_H_
6 #define ASH_WM_COMMON_DRAG_DETAILS_H_ 6 #define ASH_WM_COMMON_DRAG_DETAILS_H_
7 7
8 #include "ash/wm/common/ash_wm_common_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/common/wm_types.h" 9 #include "ash/wm/common/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 namespace wm { 19 namespace wm {
20 class WmWindow; 20 class WmWindow;
21 class WindowState; 21 class WindowState;
22 } 22 }
23 23
24 struct ASH_WM_COMMON_EXPORT DragDetails { 24 struct ASH_EXPORT DragDetails {
25 DragDetails(wm::WmWindow* window, 25 DragDetails(wm::WmWindow* window,
26 const gfx::Point& location, 26 const gfx::Point& location,
27 int window_component, 27 int window_component,
28 // TODO(sky): make wm type. 28 // TODO(sky): make wm type.
29 aura::client::WindowMoveSource source); 29 aura::client::WindowMoveSource source);
30 ~DragDetails(); 30 ~DragDetails();
31 31
32 ash::wm::WindowStateType initial_state_type; 32 ash::wm::WindowStateType initial_state_type;
33 33
34 // Initial bounds of the window in parent coordinates. 34 // Initial bounds of the window in parent coordinates.
(...skipping 27 matching lines...) Expand all
62 // Source of the event initiating the drag. 62 // Source of the event initiating the drag.
63 const aura::client::WindowMoveSource source; 63 const aura::client::WindowMoveSource source;
64 64
65 // True if the window should attach to the shelf after releasing. 65 // True if the window should attach to the shelf after releasing.
66 bool should_attach_to_shelf; 66 bool should_attach_to_shelf;
67 }; 67 };
68 68
69 } // namespace ash 69 } // namespace ash
70 70
71 #endif // ASH_WM_COMMON_DRAG_DETAILS_H_ 71 #endif // ASH_WM_COMMON_DRAG_DETAILS_H_
OLDNEW
« no previous file with comments | « ash/wm/common/dock/docked_window_resizer.h ('k') | ash/wm/common/fullscreen_window_finder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698