OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_WIDGET_DROP_TARGET_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DROP_TARGET_WIN_H_ |
6 #define VIEWS_WIDGET_DROP_TARGET_WIN_H_ | 6 #define UI_VIEWS_WIDGET_DROP_TARGET_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ui/base/dragdrop/drop_target.h" | 9 #include "ui/base/dragdrop/drop_target.h" |
10 #include "views/widget/drop_helper.h" | 10 #include "ui/views/widget/drop_helper.h" |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 | 13 |
14 class View; | 14 class View; |
15 namespace internal { | 15 namespace internal { |
16 class RootView; | 16 class RootView; |
17 } | 17 } |
18 | 18 |
19 // DropTargetWin takes care of managing drag and drop for NativeWidgetWin. It | 19 // DropTargetWin takes care of managing drag and drop for NativeWidgetWin. It |
20 // converts Windows OLE drop messages into Views drop messages. | 20 // converts Windows OLE drop messages into Views drop messages. |
(...skipping 25 matching lines...) Expand all Loading... |
46 DWORD effect); | 46 DWORD effect); |
47 | 47 |
48 private: | 48 private: |
49 views::DropHelper helper_; | 49 views::DropHelper helper_; |
50 | 50 |
51 DISALLOW_COPY_AND_ASSIGN(DropTargetWin); | 51 DISALLOW_COPY_AND_ASSIGN(DropTargetWin); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace views | 54 } // namespace views |
55 | 55 |
56 #endif // VIEWS_WIDGET_DROP_TARGET_WIN_H_ | 56 #endif // UI_VIEWS_WIDGET_DROP_TARGET_WIN_H_ |
OLD | NEW |