Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: app/gtk_dnd_util.h

Issue 1084003: Fix HTML5 effectAllowed and dragEffect on Chrome Linux. (Closed)
Patch Set: actual Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | app/gtk_dnd_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « no previous file | app/gtk_dnd_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698