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_BROWSER_WEB_CONTENTS_DRAG_UTILS_GTK_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_DRAG_UTILS_GTK_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_DRAG_UTILS_GTK_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_DRAG_UTILS_GTK_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 #include "third_party/WebKit/public/web/WebDragOperation.h" | 11 #include "third_party/WebKit/public/web/WebDragOperation.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 // Convenience methods for converting between web drag operations and the GDK | 15 // Convenience methods for converting between web drag operations and the GDK |
16 // equivalent. | 16 // equivalent. |
17 CONTENT_EXPORT GdkDragAction WebDragOpToGdkDragAction( | 17 CONTENT_EXPORT GdkDragAction WebDragOpToGdkDragAction( |
18 WebKit::WebDragOperationsMask op); | 18 blink::WebDragOperationsMask op); |
19 CONTENT_EXPORT WebKit::WebDragOperationsMask GdkDragActionToWebDragOp( | 19 CONTENT_EXPORT blink::WebDragOperationsMask GdkDragActionToWebDragOp( |
20 GdkDragAction action); | 20 GdkDragAction action); |
21 | 21 |
22 } // namespace content | 22 } // namespace content |
23 | 23 |
24 #endif // CONTENT_BROWSER_WEB_CONTENTS_DRAG_UTILS_GTK_H_ | 24 #endif // CONTENT_BROWSER_WEB_CONTENTS_DRAG_UTILS_GTK_H_ |
OLD | NEW |