Index: app/gtk_dnd_util.h |
diff --git a/app/gtk_dnd_util.h b/app/gtk_dnd_util.h |
index 4471174790a967c64f2800fbe6c493cc872a3a2c..f68931d77cb33191ec57deed700be86e87ddb4b9 100644 |
--- a/app/gtk_dnd_util.h |
+++ b/app/gtk_dnd_util.h |
@@ -10,6 +10,7 @@ |
#include <vector> |
#include "base/string16.h" |
+#include "third_party/WebKit/WebKit/chromium/public/WebDragOperation.h" |
class GURL; |
@@ -77,6 +78,10 @@ bool ExtractNamedURL(GtkSelectionData* selection_data, |
bool ExtractURIList(GtkSelectionData* selection_data, |
std::vector<GURL>* urls); |
+// Convenience method for converting between a web drag operation and the GDK |
+// equivalent. |
+GdkDragAction WebDragOpToGdkDragAction(WebKit::WebDragOperationsMask op); |
+ |
} // namespace gtk_dnd_util |
#endif // APP_GTK_DND_UTIL_H_ |