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

Issue 1382593004: Allow out-of-process iframes to update the mouse cursor (Closed)

Created:
5 years, 2 months ago by kenrb
Modified:
5 years, 2 months ago
Reviewers:
dcheng, nasko
CC:
blink-reviews, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, gavinp+loader_chromium.org, jam, Nate Chapin, kinuko+watch, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, site-isolation-reviews_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow out-of-process iframes to update the mouse cursor Plumb both Blink and content to allow mouse cursor updates to occur when the mouse position passes over elements within an out-of-process iframe that should change its appearance, such as a text field. BUG=529377 Committed: https://crrev.com/77db507348c8b41b84cc3c481711a11b41f1a793 Cr-Commit-Position: refs/heads/master@{#354321}

Patch Set 1 #

Patch Set 2 : Improved feng shui #

Total comments: 13

Patch Set 3 : Comments addressed #

Patch Set 4 : Put const in the right place #

Total comments: 4

Patch Set 5 : Cleanup, disabled test on Android #

Total comments: 7

Patch Set 6 : Review comments addressed #

Total comments: 6

Patch Set 7 : Removed test timeout #

Total comments: 1

Patch Set 8 : nits addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -14 lines) Patch
M content/browser/frame_host/cross_process_frame_connector.h View 1 2 3 4 5 3 chunks +6 lines, -0 lines 0 comments Download
M content/browser/frame_host/cross_process_frame_connector.cc View 1 2 3 chunks +17 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +82 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 2 3 4 5 6 7 2 chunks +17 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/InspectorOverlay.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebPagePopupImpl.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (3 generated)
kenrb
dcheng: PTAL third_party/WebKit? nasko: PTAL content?
5 years, 2 months ago (2015-10-02 21:50:54 UTC) #2
dcheng
Why plumb this through WebFrameWidget if we're just going to talk to the root view ...
5 years, 2 months ago (2015-10-05 06:48:24 UTC) #3
nasko
Poked only through content/ https://codereview.chromium.org/1382593004/diff/20001/content/browser/frame_host/cross_process_frame_connector.cc File content/browser/frame_host/cross_process_frame_connector.cc (right): https://codereview.chromium.org/1382593004/diff/20001/content/browser/frame_host/cross_process_frame_connector.cc#newcode230 content/browser/frame_host/cross_process_frame_connector.cc:230: if (frame_proxy_in_parent_renderer_->frame_tree_node()) { RenderFrameProxyHost should ...
5 years, 2 months ago (2015-10-05 18:18:46 UTC) #4
kenrb
Comments addressed. Another look? On 2015/10/05 06:48:24, dcheng wrote: > Why plumb this through WebFrameWidget ...
5 years, 2 months ago (2015-10-06 17:39:19 UTC) #5
dcheng
On 2015/10/06 at 17:39:19, kenrb wrote: > Comments addressed. Another look? > > On 2015/10/05 ...
5 years, 2 months ago (2015-10-06 17:57:00 UTC) #6
kenrb
On 2015/10/06 17:57:00, dcheng wrote: > On 2015/10/06 at 17:39:19, kenrb wrote: > > Comments ...
5 years, 2 months ago (2015-10-06 19:01:19 UTC) #7
dcheng
On 2015/10/06 at 19:01:19, kenrb wrote: > On 2015/10/06 17:57:00, dcheng wrote: > > On ...
5 years, 2 months ago (2015-10-07 04:35:37 UTC) #8
kenrb
On 2015/10/07 04:35:37, dcheng wrote: > On 2015/10/06 at 19:01:19, kenrb wrote: > > From ...
5 years, 2 months ago (2015-10-07 12:31:05 UTC) #9
kenrb
Daniel: Friendly ping. Let me know if you want have a chat about this.
5 years, 2 months ago (2015-10-09 14:26:24 UTC) #10
dcheng
On 2015/10/07 at 12:31:05, kenrb wrote: > On 2015/10/07 04:35:37, dcheng wrote: > > On ...
5 years, 2 months ago (2015-10-09 15:16:44 UTC) #11
kenrb
On 2015/10/09 15:16:44, dcheng wrote: > It's far more straightforward to just go straight to ...
5 years, 2 months ago (2015-10-09 15:49:14 UTC) #12
dcheng
https://codereview.chromium.org/1382593004/diff/60001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1382593004/diff/60001/content/browser/site_per_process_browsertest.cc#newcode3589 content/browser/site_per_process_browsertest.cc:3589: // rwh_child->ForwardMouseEvent(mouse_event); ? https://codereview.chromium.org/1382593004/diff/60001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1382593004/diff/60001/content/renderer/render_frame_impl.cc#newcode836 content/renderer/render_frame_impl.cc:836: ...
5 years, 2 months ago (2015-10-13 22:14:37 UTC) #13
kenrb
Thanks for looking. I cleaned up the points you mentioned, and also disabled the test ...
5 years, 2 months ago (2015-10-14 16:29:53 UTC) #14
dcheng
https://codereview.chromium.org/1382593004/diff/80001/content/browser/frame_host/cross_process_frame_connector.h File content/browser/frame_host/cross_process_frame_connector.h (right): https://codereview.chromium.org/1382593004/diff/80001/content/browser/frame_host/cross_process_frame_connector.h#newcode30 content/browser/frame_host/cross_process_frame_connector.h:30: class WebCursor; Nit: alphabetize https://codereview.chromium.org/1382593004/diff/80001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1382593004/diff/80001/content/browser/site_per_process_browsertest.cc#newcode3546 ...
5 years, 2 months ago (2015-10-14 17:13:53 UTC) #15
kenrb
https://codereview.chromium.org/1382593004/diff/80001/content/browser/frame_host/cross_process_frame_connector.h File content/browser/frame_host/cross_process_frame_connector.h (right): https://codereview.chromium.org/1382593004/diff/80001/content/browser/frame_host/cross_process_frame_connector.h#newcode30 content/browser/frame_host/cross_process_frame_connector.h:30: class WebCursor; On 2015/10/14 17:13:52, dcheng wrote: > Nit: ...
5 years, 2 months ago (2015-10-14 17:42:30 UTC) #16
dcheng
lgtm but I really think we should remove the custom test timeout logic. https://codereview.chromium.org/1382593004/diff/80001/content/browser/site_per_process_browsertest.cc File ...
5 years, 2 months ago (2015-10-14 21:23:37 UTC) #17
nasko
https://codereview.chromium.org/1382593004/diff/100001/content/browser/frame_host/cross_process_frame_connector.cc File content/browser/frame_host/cross_process_frame_connector.cc (right): https://codereview.chromium.org/1382593004/diff/100001/content/browser/frame_host/cross_process_frame_connector.cc#newcode235 content/browser/frame_host/cross_process_frame_connector.cc:235: ->GetView()); What happens with <webview> where the root RWHV ...
5 years, 2 months ago (2015-10-15 17:06:55 UTC) #18
dcheng
thanks, lgtm https://codereview.chromium.org/1382593004/diff/120001/third_party/WebKit/Source/web/ChromeClientImpl.cpp File third_party/WebKit/Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/1382593004/diff/120001/third_party/WebKit/Source/web/ChromeClientImpl.cpp#newcode684 third_party/WebKit/Source/web/ChromeClientImpl.cpp:684: // FIXME: For top-level frames we still ...
5 years, 2 months ago (2015-10-15 17:07:07 UTC) #19
kenrb
https://codereview.chromium.org/1382593004/diff/100001/content/browser/frame_host/cross_process_frame_connector.cc File content/browser/frame_host/cross_process_frame_connector.cc (right): https://codereview.chromium.org/1382593004/diff/100001/content/browser/frame_host/cross_process_frame_connector.cc#newcode235 content/browser/frame_host/cross_process_frame_connector.cc:235: ->GetView()); On 2015/10/15 17:06:54, nasko (slow to review) wrote: ...
5 years, 2 months ago (2015-10-15 17:12:55 UTC) #20
nasko
LGTM
5 years, 2 months ago (2015-10-15 17:41:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1382593004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1382593004/140001
5 years, 2 months ago (2015-10-15 17:42:44 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 2 months ago (2015-10-15 19:21:32 UTC) #25
commit-bot: I haz the power
5 years, 2 months ago (2015-10-15 19:22:28 UTC) #26
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/77db507348c8b41b84cc3c481711a11b41f1a793
Cr-Commit-Position: refs/heads/master@{#354321}

Powered by Google App Engine
This is Rietveld 408576698