| 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 "base/memory/weak_ptr.h" | |
| 11 #include "ui/views/views_export.h" | 10 #include "ui/views/views_export.h" |
| 12 #include "ui/wm/public/drag_drop_client.h" | 11 #include "ui/wm/public/drag_drop_client.h" |
| 13 | 12 |
| 14 namespace ui { | 13 namespace ui { |
| 15 class DragSourceWin; | 14 class DragSourceWin; |
| 16 } | 15 } |
| 17 | 16 |
| 18 namespace views { | 17 namespace views { |
| 19 class DesktopDropTargetWin; | 18 class DesktopDropTargetWin; |
| 20 | 19 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 43 | 42 |
| 44 private: | 43 private: |
| 45 bool drag_drop_in_progress_; | 44 bool drag_drop_in_progress_; |
| 46 | 45 |
| 47 int drag_operation_; | 46 int drag_operation_; |
| 48 | 47 |
| 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 base::WeakPtrFactory<DesktopDragDropClientWin> weak_factory_; | |
| 54 | |
| 55 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWin); | 52 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWin); |
| 56 }; | 53 }; |
| 57 | 54 |
| 58 } // namespace views | 55 } // namespace views |
| 59 | 56 |
| 60 #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 |