OLD | NEW |
1 // Copyright (c) 2011 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_GTK_H_ | 5 #ifndef UI_VIEWS_WIDGET_DROP_TARGET_GTK_H_ |
6 #define VIEWS_WIDGET_DROP_TARGET_GTK_H_ | 6 #define UI_VIEWS_WIDGET_DROP_TARGET_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 #include <set> | 10 #include <set> |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "ui/base/dragdrop/os_exchange_data.h" | 13 #include "ui/base/dragdrop/os_exchange_data.h" |
14 #include "views/widget/drop_helper.h" | 14 #include "ui/views/widget/drop_helper.h" |
15 | 15 |
16 namespace ui { | 16 namespace ui { |
17 class OSExchangeDataProviderGtk; | 17 class OSExchangeDataProviderGtk; |
18 } | 18 } |
19 using ui::OSExchangeData; | 19 using ui::OSExchangeData; |
20 using ui::OSExchangeDataProviderGtk; | 20 using ui::OSExchangeDataProviderGtk; |
21 | 21 |
22 namespace views { | 22 namespace views { |
23 | 23 |
24 class View; | 24 class View; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 // The view under the mouse. This is not necessarily the same as | 110 // The view under the mouse. This is not necessarily the same as |
111 // helper_.target_view(). The two differ if the view under the mouse requires | 111 // helper_.target_view(). The two differ if the view under the mouse requires |
112 // the data. | 112 // the data. |
113 View* pending_view_; | 113 View* pending_view_; |
114 | 114 |
115 DISALLOW_COPY_AND_ASSIGN(DropTargetGtk); | 115 DISALLOW_COPY_AND_ASSIGN(DropTargetGtk); |
116 }; | 116 }; |
117 | 117 |
118 } // namespace views | 118 } // namespace views |
119 | 119 |
120 #endif // VIEWS_WIDGET_DROP_TARGET_GTK_H_ | 120 #endif // UI_VIEWS_WIDGET_DROP_TARGET_GTK_H_ |
OLD | NEW |