diff options
Diffstat (limited to 'app/gtk_dnd_util.h')
-rw-r--r-- | app/gtk_dnd_util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/gtk_dnd_util.h b/app/gtk_dnd_util.h index 4471174..f68931d 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_ |