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 CONTENT_PUBLIC_BROWSER_WEB_DRAG_DEST_DELEGATE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_DRAG_DEST_DELEGATE_H_ |
6 #define CONTENT_PUBLIC_BROWSER_WEB_DRAG_DEST_DELEGATE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEB_DRAG_DEST_DELEGATE_H_ |
7 #pragma once | |
8 | 7 |
9 #if defined(TOOLKIT_GTK) | 8 #if defined(TOOLKIT_GTK) |
10 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
11 #endif // TOOLKIT_GTK | 10 #endif // TOOLKIT_GTK |
12 | 11 |
13 #include "base/string16.h" | 12 #include "base/string16.h" |
14 | 13 |
15 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
16 #include "ui/base/dragdrop/drop_target.h" | 15 #include "ui/base/dragdrop/drop_target.h" |
17 #endif | 16 #endif |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 virtual bool AddDragData(const WebDropData& drop_data, | 67 virtual bool AddDragData(const WebDropData& drop_data, |
69 ui::OSExchangeData* data) = 0; | 68 ui::OSExchangeData* data) = 0; |
70 #endif // TOOLKIT_GTK | 69 #endif // TOOLKIT_GTK |
71 | 70 |
72 virtual ~WebDragDestDelegate() {} | 71 virtual ~WebDragDestDelegate() {} |
73 }; | 72 }; |
74 | 73 |
75 } // namespace content | 74 } // namespace content |
76 | 75 |
77 #endif // CONTENT_PUBLIC_BROWSER_WEB_DRAG_DEST_DELEGATE_H_ | 76 #endif // CONTENT_PUBLIC_BROWSER_WEB_DRAG_DEST_DELEGATE_H_ |
OLD | NEW |