Commit 295cb685 authored by tc@google.com's avatar tc@google.com

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
parent 942b563f
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment