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

Issue 2501213002: Drag-and-drop: dragSourceEndedAt, dragSourceSystemDragEnded (Closed)

Created:
4 years, 1 month ago by paulmeyer
Modified:
4 years, 1 month ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, mlamouri+watch-test-runner_chromium.org, mlamouri+watch-blink_chromium.org, nasko+codewatch_chromium.org, jam, dcheng, dglazkov+blink, darin-cc_chromium.org, blink-reviews, einbinder+watch-test-runner_chromium.org, kinuko+watch, blink-reviews-api_chromium.org, jochen+watch_chromium.org, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Drag-and-drop: Move dragSourceEndedAt and dragSourceSystemDragEnded out of WebView/RenderView. 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/8fc8ea94ab9b37dc2fab2beeb6bff3180685d2d5 Cr-Commit-Position: refs/heads/master@{#432111}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased. Added check for !GetWebWidget(). #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -106 lines) Patch
M components/plugins/renderer/webview_plugin.cc View 1 1 chunk +3 lines, -1 line 2 comments Download
M components/test_runner/event_sender.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 2 chunks +10 lines, -5 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 3 chunks +0 lines, -15 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 2 chunks +14 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 chunk +5 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 2 chunks +14 lines, -7 lines 0 comments Download
M content/browser/web_contents/web_contents_view_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/render_view_host.h View 1 chunk +0 lines, -10 lines 0 comments Download
M content/public/browser/render_widget_host.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 chunks +0 lines, -14 lines 0 comments Download
M content/renderer/render_widget.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 chunks +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetBase.h View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetBase.cpp View 2 chunks +25 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 chunks +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 1 chunk +0 lines, -24 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameWidget.h View 2 chunks +10 lines, -1 line 0 comments Download
M third_party/WebKit/public/web/WebView.h View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
paulmeyer
+nick@ for content/ review.
4 years, 1 month ago (2016-11-14 22:17:34 UTC) #3
paulmeyer
+dcheng for Blink review.
4 years, 1 month ago (2016-11-14 22:18:35 UTC) #5
ncarter (slow)
lgtm with one point of discussion https://codereview.chromium.org/2501213002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/2501213002/diff/1/content/renderer/render_widget.cc#newcode1714 content/renderer/render_widget.cc:1714: WebDragOperation op) { ...
4 years, 1 month ago (2016-11-14 23:21:37 UTC) #6
paulmeyer
+rbyers@ for OWNER review of event_sender.cc https://codereview.chromium.org/2501213002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/2501213002/diff/1/content/renderer/render_widget.cc#newcode1714 content/renderer/render_widget.cc:1714: WebDragOperation op) { ...
4 years, 1 month ago (2016-11-15 01:20:31 UTC) #8
paulmeyer
+tommycli@ for review of webview_plugin.cc
4 years, 1 month ago (2016-11-15 01:23:13 UTC) #10
tommycli
lgtm assuming: https://codereview.chromium.org/2501213002/diff/20001/components/plugins/renderer/webview_plugin.cc File components/plugins/renderer/webview_plugin.cc (right): https://codereview.chromium.org/2501213002/diff/20001/components/plugins/renderer/webview_plugin.cc#newcode249 components/plugins/renderer/webview_plugin.cc:249: web_view_->mainFrame()->toWebLocalFrame()->frameWidget()-> I assume frameWidget() is never null ...
4 years, 1 month ago (2016-11-15 01:25:00 UTC) #11
paulmeyer
https://codereview.chromium.org/2501213002/diff/20001/components/plugins/renderer/webview_plugin.cc File components/plugins/renderer/webview_plugin.cc (right): https://codereview.chromium.org/2501213002/diff/20001/components/plugins/renderer/webview_plugin.cc#newcode249 components/plugins/renderer/webview_plugin.cc:249: web_view_->mainFrame()->toWebLocalFrame()->frameWidget()-> On 2016/11/15 01:25:00, tommycli wrote: > I assume ...
4 years, 1 month ago (2016-11-15 01:42:55 UTC) #12
Rick Byers
On 2016/11/15 01:20:31, paulmeyer wrote: > +rbyers@ for OWNER review of event_sender.cc event_sender LGTM
4 years, 1 month ago (2016-11-15 01:46:52 UTC) #13
dcheng
lgtm
4 years, 1 month ago (2016-11-15 02:40:16 UTC) #14
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/2501213002/20001
4 years, 1 month ago (2016-11-15 02:47:21 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-15 05:12:52 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 05:19:44 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8fc8ea94ab9b37dc2fab2beeb6bff3180685d2d5
Cr-Commit-Position: refs/heads/master@{#432111}

Powered by Google App Engine
This is Rietveld 408576698