| 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 <X11/Xlib.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <set> | 11 #include <set> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
| 18 #include "ui/aura/client/drag_drop_client.h" |
| 18 #include "ui/aura/window_observer.h" | 19 #include "ui/aura/window_observer.h" |
| 19 #include "ui/base/cursor/cursor.h" | 20 #include "ui/base/cursor/cursor.h" |
| 20 #include "ui/base/dragdrop/drag_drop_types.h" | 21 #include "ui/base/dragdrop/drag_drop_types.h" |
| 21 #include "ui/gfx/geometry/point.h" | 22 #include "ui/gfx/geometry/point.h" |
| 22 #include "ui/gfx/geometry/size.h" | 23 #include "ui/gfx/geometry/size.h" |
| 23 #include "ui/gfx/x/x11_atom_cache.h" | 24 #include "ui/gfx/x/x11_atom_cache.h" |
| 24 #include "ui/views/views_export.h" | 25 #include "ui/views/views_export.h" |
| 25 #include "ui/views/widget/desktop_aura/x11_move_loop_delegate.h" | 26 #include "ui/views/widget/desktop_aura/x11_move_loop_delegate.h" |
| 26 #include "ui/wm/public/drag_drop_client.h" | |
| 27 | 27 |
| 28 namespace aura { | 28 namespace aura { |
| 29 namespace client { | 29 namespace client { |
| 30 class DragDropDelegate; | 30 class DragDropDelegate; |
| 31 } | 31 } |
| 32 } | 32 } |
| 33 | 33 |
| 34 namespace gfx { | 34 namespace gfx { |
| 35 class ImageSkia; | 35 class ImageSkia; |
| 36 class Point; | 36 class Point; |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 gfx::Vector2d drag_widget_offset_; | 289 gfx::Vector2d drag_widget_offset_; |
| 290 | 290 |
| 291 base::WeakPtrFactory<DesktopDragDropClientAuraX11> weak_ptr_factory_; | 291 base::WeakPtrFactory<DesktopDragDropClientAuraX11> weak_ptr_factory_; |
| 292 | 292 |
| 293 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientAuraX11); | 293 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientAuraX11); |
| 294 }; | 294 }; |
| 295 | 295 |
| 296 } // namespace views | 296 } // namespace views |
| 297 | 297 |
| 298 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_ | 298 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_ |
| OLD | NEW |