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_VIEWS_WIDGET_DESKTOP_AURA_X11_DESKTOP_WINDOW_MOVE_CLIENT_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_X11_DESKTOP_WINDOW_MOVE_CLIENT_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_X11_DESKTOP_WINDOW_MOVE_CLIENT_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_X11_DESKTOP_WINDOW_MOVE_CLIENT_H_ |
7 | 7 |
8 #include <X11/Xlib.h> | 8 #include <X11/Xlib.h> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
13 #include "ui/gfx/point.h" | 13 #include "ui/gfx/geometry/point.h" |
14 #include "ui/views/views_export.h" | 14 #include "ui/views/views_export.h" |
15 #include "ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h" | 15 #include "ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h" |
16 #include "ui/views/widget/desktop_aura/x11_whole_screen_move_loop_delegate.h" | 16 #include "ui/views/widget/desktop_aura/x11_whole_screen_move_loop_delegate.h" |
17 #include "ui/wm/public/window_move_client.h" | 17 #include "ui/wm/public/window_move_client.h" |
18 | 18 |
19 namespace aura { | 19 namespace aura { |
20 class WindowTreeHost; | 20 class WindowTreeHost; |
21 } | 21 } |
22 | 22 |
23 namespace views { | 23 namespace views { |
(...skipping 27 matching lines...) Expand all Loading... |
51 | 51 |
52 // Our cursor offset from the top left window origin when the drag | 52 // Our cursor offset from the top left window origin when the drag |
53 // started. Used to calculate the window's new bounds relative to the current | 53 // started. Used to calculate the window's new bounds relative to the current |
54 // location of the cursor. | 54 // location of the cursor. |
55 gfx::Vector2d window_offset_; | 55 gfx::Vector2d window_offset_; |
56 }; | 56 }; |
57 | 57 |
58 } // namespace views | 58 } // namespace views |
59 | 59 |
60 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_X11_DESKTOP_WINDOW_MOVE_CLIENT_H_ | 60 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_X11_DESKTOP_WINDOW_MOVE_CLIENT_H_ |
OLD | NEW |