| 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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "ui/aura/client/drag_drop_client.h" | 10 #include "ui/aura/client/drag_drop_client.h" |
| 11 #include "ui/views/views_export.h" | 11 #include "ui/views/views_export.h" |
| 12 | 12 |
| 13 namespace ui { | 13 namespace ui { |
| 14 class DragSourceWin; | 14 class DragSourceWin; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace views { | 17 namespace views { |
| 18 class DesktopDragDragSourceWin; | |
| 19 class DesktopDropTargetWin; | 18 class DesktopDropTargetWin; |
| 20 | 19 |
| 21 class VIEWS_EXPORT DesktopDragDropClientWin | 20 class VIEWS_EXPORT DesktopDragDropClientWin |
| 22 : public aura::client::DragDropClient { | 21 : public aura::client::DragDropClient { |
| 23 public: | 22 public: |
| 24 DesktopDragDropClientWin(aura::Window* root_window, HWND window); | 23 DesktopDragDropClientWin(aura::Window* root_window, HWND window); |
| 25 virtual ~DesktopDragDropClientWin(); | 24 virtual ~DesktopDragDropClientWin(); |
| 26 | 25 |
| 27 // Overridden from aura::client::DragDropClient: | 26 // Overridden from aura::client::DragDropClient: |
| 28 virtual int StartDragAndDrop( | 27 virtual int StartDragAndDrop( |
| (...skipping 20 matching lines...) Expand all Loading... |
| 49 scoped_refptr<ui::DragSourceWin> drag_source_; | 48 scoped_refptr<ui::DragSourceWin> drag_source_; |
| 50 | 49 |
| 51 scoped_refptr<DesktopDropTargetWin> drop_target_; | 50 scoped_refptr<DesktopDropTargetWin> drop_target_; |
| 52 | 51 |
| 53 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWin); | 52 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWin); |
| 54 }; | 53 }; |
| 55 | 54 |
| 56 } // namespace views | 55 } // namespace views |
| 57 | 56 |
| 58 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ | 57 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ |
| OLD | NEW |