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

Side by Side Diff: ui/views/widget/desktop_aura/x11_desktop_window_move_client.h

Issue 19631002: Use a direct include of the message_loop header in ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
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 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. 10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class.
11 #undef RootWindow 11 #undef RootWindow
12 12
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "ui/aura/client/window_move_client.h" 16 #include "ui/aura/client/window_move_client.h"
17 #include "ui/gfx/point.h" 17 #include "ui/gfx/point.h"
18 #include "ui/views/views_export.h" 18 #include "ui/views/views_export.h"
19 #include "ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h" 19 #include "ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h"
20 #include "ui/views/widget/desktop_aura/x11_whole_screen_move_loop_delegate.h" 20 #include "ui/views/widget/desktop_aura/x11_whole_screen_move_loop_delegate.h"
21 21
22 namespace aura { 22 namespace aura {
23 class RootWindow; 23 class RootWindow;
24 } 24 }
25 25
(...skipping 28 matching lines...) Expand all
54 54
55 // Our cursor offset from the top left window origin when the drag 55 // Our cursor offset from the top left window origin when the drag
56 // started. Used to calculate the window's new bounds relative to the current 56 // started. Used to calculate the window's new bounds relative to the current
57 // location of the cursor. 57 // location of the cursor.
58 gfx::Vector2d window_offset_; 58 gfx::Vector2d window_offset_;
59 }; 59 };
60 60
61 } // namespace views 61 } // namespace views
62 62
63 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_X11_DESKTOP_WINDOW_MOVE_CLIENT_H_ 63 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_X11_DESKTOP_WINDOW_MOVE_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/x11_desktop_handler.cc ('k') | ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698