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

Issue 67297: Provide an override for Webview drop effect....

Created:
11 years, 8 months ago by noel.gordon
Modified:
9 years, 7 months ago
Reviewers:
tony
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Provide an override for Webview drop effect. Used for gears file drag & drop in chrome, provide a setter api to override the default webview drop effect. If gears overrides the drop_effect, then either a "copy" or "none" cursor is shown to the user. Otherwise, the drop effect shown is the default for the webview (controlled by WebKit). Also remove a TODO: during drag and drop, remember the drop accept state of the webview (in drag enter, drag over). Use that to prevent drops on webviews that can't accept the drop data. BUG=7995

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -10 lines) Patch
M chrome/browser/tab_contents/web_drop_target.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M webkit/glue/webview.h View 1 2 chunks +10 lines, -2 lines 0 comments Download
M webkit/glue/webview_impl.h View 1 2 chunks +11 lines, -0 lines 1 comment Download
M webkit/glue/webview_impl.cc View 1 6 chunks +39 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
noel.gordon_gmail.com
11 years, 8 months ago (2009-04-20 10:47:21 UTC) #1
tony
http://codereview.chromium.org/67297/diff/1/2 File webkit/glue/webview.h (right): http://codereview.chromium.org/67297/diff/1/2#newcode211 Line 211: virtual bool SetDropEffect(bool accept) = 0; Nit: Can ...
11 years, 8 months ago (2009-04-20 17:30:08 UTC) #2
noel.gordon_gmail.com
new snapshot uploaded. http://codereview.chromium.org/67297/diff/1/2 File webkit/glue/webview.h (right): http://codereview.chromium.org/67297/diff/1/2#newcode211 Line 211: virtual bool SetDropEffect(bool accept) = ...
11 years, 8 months ago (2009-04-21 18:20:12 UTC) #3
tony
LGTM. I will commit this and fix the nit while I'm committing it. Thanks! http://codereview.chromium.org/67297/diff/3001/3003 ...
11 years, 8 months ago (2009-04-21 18:26:28 UTC) #4
noel.gordon_gmail.com
On 2009/04/21 18:26:28, tony wrote: > LGTM. I will commit this and fix the nit ...
11 years, 8 months ago (2009-04-21 18:37:37 UTC) #5
tony
11 years, 8 months ago (2009-04-22 00:13:00 UTC) #6
Committed in r14162.

Powered by Google App Engine
This is Rietveld 408576698