diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 03:18:28 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 03:18:28 +0000 |
commit | fa23bd53f70490619439cee296e084d739c15aa1 (patch) | |
tree | f5db3cdf43d327b1d4ec12165fd12bd1e70bbe0d /app/gtk_dnd_util.h | |
parent | ea4a1d01a2d1aad09c92821a51bb44c4412785f8 (diff) | |
download | chromium_src-fa23bd53f70490619439cee296e084d739c15aa1.zip chromium_src-fa23bd53f70490619439cee296e084d739c15aa1.tar.gz chromium_src-fa23bd53f70490619439cee296e084d739c15aa1.tar.bz2 |
Fix HTML5 effectAllowed and dragEffect on Chrome Linux.
This hooks up all the chrome side plumbing, but there are a couple
webkit changes that need to happen for this to fully work.
BUG=14654
Review URL: http://codereview.chromium.org/1084003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42306 0039d316-1c4b-4281-b951-d872f2087c98
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_ |