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/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "ui/views/views_export.h" | 14 #include "ui/views/views_export.h" |
14 #include "ui/wm/public/drag_drop_client.h" | 15 #include "ui/wm/public/drag_drop_client.h" |
15 | 16 |
16 namespace ui { | 17 namespace ui { |
17 class DragSourceWin; | 18 class DragSourceWin; |
18 } | 19 } |
19 | 20 |
20 namespace views { | 21 namespace views { |
(...skipping 29 matching lines...) Expand all Loading... |
50 scoped_refptr<DesktopDropTargetWin> drop_target_; | 51 scoped_refptr<DesktopDropTargetWin> drop_target_; |
51 | 52 |
52 base::WeakPtrFactory<DesktopDragDropClientWin> weak_factory_; | 53 base::WeakPtrFactory<DesktopDragDropClientWin> weak_factory_; |
53 | 54 |
54 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWin); | 55 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWin); |
55 }; | 56 }; |
56 | 57 |
57 } // namespace views | 58 } // namespace views |
58 | 59 |
59 #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 |