OLD | NEW |
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 #ifndef UI_WM_PUBLIC_WINDOW_MOVE_CLIENT_H_ | 5 #ifndef UI_WM_PUBLIC_WINDOW_MOVE_CLIENT_H_ |
6 #define UI_WM_PUBLIC_WINDOW_MOVE_CLIENT_H_ | 6 #define UI_WM_PUBLIC_WINDOW_MOVE_CLIENT_H_ |
7 | 7 |
8 #include "ui/aura/aura_export.h" | 8 #include "ui/aura/aura_export.h" |
9 #include "ui/gfx/geometry/vector2d.h" | 9 #include "ui/gfx/geometry/vector2d.h" |
10 | 10 |
11 namespace gfx { | |
12 class Point; | |
13 } | |
14 | |
15 namespace aura { | 11 namespace aura { |
16 class Window; | 12 class Window; |
17 namespace client { | 13 namespace client { |
18 | 14 |
19 enum WindowMoveResult { | 15 enum WindowMoveResult { |
20 MOVE_SUCCESSFUL, // Moving window was successful. | 16 MOVE_SUCCESSFUL, // Moving window was successful. |
21 MOVE_CANCELED // Moving window was canceled. | 17 MOVE_CANCELED // Moving window was canceled. |
22 }; | 18 }; |
23 | 19 |
24 enum WindowMoveSource { | 20 enum WindowMoveSource { |
(...skipping 22 matching lines...) Expand all Loading... |
47 | 43 |
48 // Sets/Gets the activation client for the specified window. | 44 // Sets/Gets the activation client for the specified window. |
49 AURA_EXPORT void SetWindowMoveClient(Window* window, | 45 AURA_EXPORT void SetWindowMoveClient(Window* window, |
50 WindowMoveClient* client); | 46 WindowMoveClient* client); |
51 AURA_EXPORT WindowMoveClient* GetWindowMoveClient(Window* window); | 47 AURA_EXPORT WindowMoveClient* GetWindowMoveClient(Window* window); |
52 | 48 |
53 } // namespace client | 49 } // namespace client |
54 } // namespace aura | 50 } // namespace aura |
55 | 51 |
56 #endif // UI_WM_PUBLIC_WINDOW_MOVE_CLIENT_H_ | 52 #endif // UI_WM_PUBLIC_WINDOW_MOVE_CLIENT_H_ |
OLD | NEW |