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

Issue 2503563002: Drag-and-drop: updateDragCursor (Closed)

Created:
4 years, 1 month ago by paulmeyer
Modified:
4 years, 1 month ago
Reviewers:
kenrb, ncarter (slow)
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Drag-and-drop: Move updateDragCursor to RenderWidgetHost. This patch is part of the effort to transition D&D functions to all be widget-based instead of view-based. This is necessary in order to allow D&D to work with out-of-process iframes. BUG=647249, 655063 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/7f6f1d4f12b96484ad238b5b0be7fd31d89e6906 Cr-Commit-Position: refs/heads/master@{#431997}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Addressed comments by nick@. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -18 lines) Patch
M content/browser/browser_plugin/browser_plugin_embedder.h View 1 3 chunks +5 lines, -2 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_embedder.cc View 1 3 chunks +2 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 2 chunks +0 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 3 chunks +11 lines, -0 lines 1 comment Download
M content/browser/web_contents/web_contents_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
paulmeyer
4 years, 1 month ago (2016-11-14 18:35:06 UTC) #9
ncarter (slow)
https://codereview.chromium.org/2503563002/diff/1/content/browser/renderer_host/render_widget_host_delegate.h File content/browser/renderer_host/render_widget_host_delegate.h (right): https://codereview.chromium.org/2503563002/diff/1/content/browser/renderer_host/render_widget_host_delegate.h#newcode222 content/browser/renderer_host/render_widget_host_delegate.h:222: const IPC::Message& message); I think it's probably better to ...
4 years, 1 month ago (2016-11-14 20:23:45 UTC) #10
paulmeyer
PTAL. https://codereview.chromium.org/2503563002/diff/1/content/browser/renderer_host/render_widget_host_delegate.h File content/browser/renderer_host/render_widget_host_delegate.h (right): https://codereview.chromium.org/2503563002/diff/1/content/browser/renderer_host/render_widget_host_delegate.h#newcode222 content/browser/renderer_host/render_widget_host_delegate.h:222: const IPC::Message& message); On 2016/11/14 20:23:45, ncarter wrote: ...
4 years, 1 month ago (2016-11-14 22:03:53 UTC) #11
ncarter (slow)
lgtm thanks for the quick turnaround
4 years, 1 month ago (2016-11-14 22:09:31 UTC) #14
paulmeyer
On 2016/11/14 22:09:31, ncarter wrote: > lgtm > > thanks for the quick turnaround Thank ...
4 years, 1 month ago (2016-11-14 22:12:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2503563002/20001
4 years, 1 month ago (2016-11-14 22:14:27 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-15 00:01:13 UTC) #20
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/7f6f1d4f12b96484ad238b5b0be7fd31d89e6906 Cr-Commit-Position: refs/heads/master@{#431997}
4 years, 1 month ago (2016-11-15 00:07:23 UTC) #22
kenrb
4 years, 1 month ago (2016-11-16 16:22:16 UTC) #24
Message was sent while issue was closed.
https://codereview.chromium.org/2503563002/diff/20001/content/browser/rendere...
File content/browser/renderer_host/render_widget_host_impl.cc (right):

https://codereview.chromium.org/2503563002/diff/20001/content/browser/rendere...
content/browser/renderer_host/render_widget_host_impl.cc:1525:
view->UpdateDragCursor(current_op);
I have a question about this. Could this be racy if you are getting
DragHostMsg_UpdateDragCursor across different frames, and the renderers take
different amounts of time to get around to sending it?

Powered by Google App Engine
This is Rietveld 408576698