summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-30 19:26:04 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-30 19:26:04 +0000
commit295cb685c24684cb04224977a328e115fa35feab (patch)
treeee076ad4de5fdb19a300ea4b54e002a42cf65aa9
parent942b563f859f7f73a2865549dbf89781a887d0f1 (diff)
downloadchromium_src-295cb685c24684cb04224977a328e115fa35feab.zip
chromium_src-295cb685c24684cb04224977a328e115fa35feab.tar.gz
chromium_src-295cb685c24684cb04224977a328e115fa35feab.tar.bz2
Modify WebView drop effect override values.
Used for gears file drag & drop in chrome, define the values of the drop effect overrides to match the gears definitions. BUG=7995 Original patch by Noel Gordon via: http://codereview.chromium.org/99231 Review URL: http://codereview.chromium.org/102016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14971 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/glue/webview_impl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/glue/webview_impl.h b/webkit/glue/webview_impl.h
index 0b8db72..15915b0 100644
--- a/webkit/glue/webview_impl.h
+++ b/webkit/glue/webview_impl.h
@@ -331,11 +331,11 @@ class WebViewImpl : public WebView, public base::RefCounted<WebViewImpl> {
int32 drag_identity_;
// Valid when drag_target_dispatch_ is true. Used to override the default
- // browser drop effect with the effects "copy" or "none".
+ // browser drop effect with the effects "none" or "copy".
enum DragTargetDropEffect {
- DROP_EFFECT_DEFAULT = 0,
- DROP_EFFECT_COPY,
- DROP_EFFECT_NONE
+ DROP_EFFECT_DEFAULT = -1,
+ DROP_EFFECT_NONE,
+ DROP_EFFECT_COPY
} drop_effect_;
// When true, the drag data can be dropped onto the current drop target in