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