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

Issue 1685213002: Propagate window coordinates to out-of-process iframes renderers. (Closed)

Created:
4 years, 10 months ago by lfg
Modified:
4 years, 9 months ago
Reviewers:
Tom Sepez, nasko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@sendscreenrects
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Propagate window coordinates to out-of-process iframes renderers. This change also adds a Page message IPC class, which can be used by an interface in WebContentsImpl::SendPageMessage(IPC::Message*) to send an IPC message to every renderer in the FrameTree. CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/db5c4edb4bb0f9bad9916b6e67393a11bc435305 Cr-Commit-Position: refs/heads/master@{#379384}

Patch Set 1 #

Patch Set 2 : fix linux build #

Patch Set 3 : fixing ordering in DepictFrameTree #

Total comments: 16

Patch Set 4 : adding test, addressing comments #

Patch Set 5 : rebase #

Total comments: 20

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Patch Set 8 : addressing comments #

Total comments: 10

Patch Set 9 : addressing comments #

Patch Set 10 : rebase #

Patch Set 11 : properly rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -4 lines) Patch
M content/browser/frame_host/render_frame_host_manager.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +32 lines, -0 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +30 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +13 lines, -0 lines 0 comments Download
M content/common/content_message_generator.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A content/common/page_messages.h View 1 2 3 6 7 1 chunk +25 lines, -0 lines 0 comments Download
M content/renderer/devtools/render_widget_screen_metrics_emulator.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/devtools/render_widget_screen_metrics_emulator.cc View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -0 lines 0 comments Download
M content/renderer/render_frame_proxy.cc View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
M ipc/ipc_message_macros.h View 1 chunk +1 line, -2 lines 0 comments Download
M ipc/ipc_message_start.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
nasko
A drive-by turned full review :). https://codereview.chromium.org/1685213002/diff/40001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/1685213002/diff/40001/content/browser/web_contents/web_contents_impl.cc#newcode795 content/browser/web_contents/web_contents_impl.cc:795: int WebContentsImpl::SendToAllViews(IPC::Message* msg) ...
4 years, 10 months ago (2016-02-11 18:21:28 UTC) #3
lfg
Nasko, please take a look. https://codereview.chromium.org/1685213002/diff/40001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/1685213002/diff/40001/content/browser/web_contents/web_contents_impl.cc#newcode795 content/browser/web_contents/web_contents_impl.cc:795: int WebContentsImpl::SendToAllViews(IPC::Message* msg) { ...
4 years, 10 months ago (2016-02-11 20:26:09 UTC) #5
nasko
Looks good overall, but I'd rather not change the proxy_hosts_ container type in this CL, ...
4 years, 10 months ago (2016-02-12 18:14:08 UTC) #6
lfg
PTAL. https://codereview.chromium.org/1685213002/diff/80001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/1685213002/diff/80001/content/browser/frame_host/render_frame_host_manager.cc#newcode1019 content/browser/frame_host/render_frame_host_manager.cc:1019: proxy_hosts_[site_instance_id] = make_scoped_ptr(proxy_host); On 2016/02/12 18:14:08, nasko wrote: ...
4 years, 9 months ago (2016-03-02 18:29:08 UTC) #7
nasko
LGTM with a few nits. https://codereview.chromium.org/1685213002/diff/140001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/1685213002/diff/140001/content/browser/frame_host/render_frame_host_manager.cc#newcode2541 content/browser/frame_host/render_frame_host_manager.cc:2541: pending_render_frame_host_->Send(copy); These 3 lines ...
4 years, 9 months ago (2016-03-03 18:28:57 UTC) #9
lfg
https://codereview.chromium.org/1685213002/diff/140001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/1685213002/diff/140001/content/browser/frame_host/render_frame_host_manager.cc#newcode2541 content/browser/frame_host/render_frame_host_manager.cc:2541: pending_render_frame_host_->Send(copy); On 2016/03/03 18:28:57, nasko wrote: > These 3 ...
4 years, 9 months ago (2016-03-03 22:09:38 UTC) #10
lfg
tsepez@chromium.org: Please review changes in ipc/ipc_message_macros.h
4 years, 9 months ago (2016-03-03 22:12:04 UTC) #12
Tom Sepez
IPC lgtm
4 years, 9 months ago (2016-03-03 22:16:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685213002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685213002/200001
4 years, 9 months ago (2016-03-04 21:04:12 UTC) #16
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 9 months ago (2016-03-04 23:09:16 UTC) #18
commit-bot: I haz the power
4 years, 9 months ago (2016-03-04 23:10:42 UTC) #20
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/db5c4edb4bb0f9bad9916b6e67393a11bc435305
Cr-Commit-Position: refs/heads/master@{#379384}

Powered by Google App Engine
This is Rietveld 408576698