| 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_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_ |
| 7 | 7 |
| 8 #include <X11/Xlib.h> |
| 8 #include <set> | 9 #include <set> |
| 9 #include <vector> | 10 #include <vector> |
| 10 #include <X11/Xlib.h> | |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
| 16 #include "ui/aura/window_observer.h" | 16 #include "ui/aura/window_observer.h" |
| 17 #include "ui/base/cursor/cursor.h" | 17 #include "ui/base/cursor/cursor.h" |
| 18 #include "ui/base/dragdrop/drag_drop_types.h" | 18 #include "ui/base/dragdrop/drag_drop_types.h" |
| 19 #include "ui/gfx/point.h" | 19 #include "ui/gfx/geometry/point.h" |
| 20 #include "ui/gfx/x/x11_atom_cache.h" | 20 #include "ui/gfx/x/x11_atom_cache.h" |
| 21 #include "ui/views/views_export.h" | 21 #include "ui/views/views_export.h" |
| 22 #include "ui/views/widget/desktop_aura/x11_move_loop_delegate.h" | 22 #include "ui/views/widget/desktop_aura/x11_move_loop_delegate.h" |
| 23 #include "ui/wm/public/drag_drop_client.h" | 23 #include "ui/wm/public/drag_drop_client.h" |
| 24 | 24 |
| 25 namespace aura { | 25 namespace aura { |
| 26 namespace client { | 26 namespace client { |
| 27 class DragDropDelegate; | 27 class DragDropDelegate; |
| 28 } | 28 } |
| 29 } | 29 } |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 gfx::Vector2d drag_widget_offset_; | 280 gfx::Vector2d drag_widget_offset_; |
| 281 | 281 |
| 282 base::WeakPtrFactory<DesktopDragDropClientAuraX11> weak_ptr_factory_; | 282 base::WeakPtrFactory<DesktopDragDropClientAuraX11> weak_ptr_factory_; |
| 283 | 283 |
| 284 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientAuraX11); | 284 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientAuraX11); |
| 285 }; | 285 }; |
| 286 | 286 |
| 287 } // namespace views | 287 } // namespace views |
| 288 | 288 |
| 289 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_ | 289 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_ |
| OLD | NEW |