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

Unified Diff: chrome/browser/tab_contents/web_drop_target.cc

Issue 67297: Provide an override for Webview drop effect.... Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 8 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 | webkit/glue/webview.h » ('j') | webkit/glue/webview_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/web_drop_target.cc
===================================================================
--- chrome/browser/tab_contents/web_drop_target.cc (revision 14025)
+++ chrome/browser/tab_contents/web_drop_target.cc (working copy)
@@ -136,12 +136,6 @@
gfx::Point(client_pt.x, client_pt.y),
gfx::Point(cursor_position.x, cursor_position.y));
- // Again we don't wait on the renderer to respond, but this can lead to
- // a race condition. If the renderer does not want the drop data, then
- // we won't know until the response from the renderer arrives. So if a
- // drop happens before the response arrives, we drop on a renderer that
- // doesn't want the data. TODO(noel): fix this.
-
if (!is_drop_target_)
return DROPEFFECT_NONE;
« no previous file with comments | « no previous file | webkit/glue/webview.h » ('j') | webkit/glue/webview_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698