| 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_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ |
| 7 | 7 |
| 8 #include <wrl/client.h> | 8 #include <wrl/client.h> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "ui/aura/client/drag_drop_client.h" |
| 14 #include "ui/views/views_export.h" | 15 #include "ui/views/views_export.h" |
| 15 #include "ui/wm/public/drag_drop_client.h" | |
| 16 | 16 |
| 17 namespace ui { | 17 namespace ui { |
| 18 class DragSourceWin; | 18 class DragSourceWin; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace views { | 21 namespace views { |
| 22 class DesktopDropTargetWin; | 22 class DesktopDropTargetWin; |
| 23 | 23 |
| 24 class VIEWS_EXPORT DesktopDragDropClientWin | 24 class VIEWS_EXPORT DesktopDragDropClientWin |
| 25 : public aura::client::DragDropClient { | 25 : public aura::client::DragDropClient { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 51 scoped_refptr<DesktopDropTargetWin> drop_target_; | 51 scoped_refptr<DesktopDropTargetWin> drop_target_; |
| 52 | 52 |
| 53 base::WeakPtrFactory<DesktopDragDropClientWin> weak_factory_; | 53 base::WeakPtrFactory<DesktopDragDropClientWin> weak_factory_; |
| 54 | 54 |
| 55 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWin); | 55 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWin); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace views | 58 } // namespace views |
| 59 | 59 |
| 60 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ | 60 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ |
| OLD | NEW |