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