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

Issue 132383005: Set correct viewport size for an out of process iframe. (Closed)

Created:
6 years, 10 months ago by kenrb
Modified:
6 years, 10 months ago
Reviewers:
Charlie Reis, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Set correct viewport size for an out of process iframe. This patch adds an IPC for iframe parameter initialization when it has been swapped out for out of process rendering. It changes where CrossProcessFrameConnector is being created because it was being created too late; it is much more useful for it to be able to receive messages from the swapped out frame as soon as that frame is swapped out. There is currently no mechanism for dynamically changing the size of an iframe. It is not yet clear how this will be implemented in Blink. Dependency on Blink CL: https://codereview.chromium.org/135163006/ R=creis@chromium.org, jam@chromium.org BUG=325803 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251986

Patch Set 1 #

Total comments: 9

Patch Set 2 : Addressed creis comments. #

Patch Set 3 : Rebased on master #

Patch Set 4 : Rebased again #

Patch Set 5 : Removed obsolete test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -35 lines) Patch
M content/browser/frame_host/cross_process_frame_connector.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/cross_process_frame_connector.cc View 1 2 3 3 chunks +22 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 2 chunks +15 lines, -16 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 2 chunks +11 lines, -5 lines 0 comments Download
M content/common/swapped_out_messages.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
kenrb
Charlie for review of the RenderFrameHostManager change and the swap out flow in general. John ...
6 years, 10 months ago (2014-02-04 18:35:56 UTC) #1
Charlie Reis
Yes, I think this makes sense. Just a few minor questions below. https://codereview.chromium.org/132383005/diff/1/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc ...
6 years, 10 months ago (2014-02-04 20:11:12 UTC) #2
kenrb
https://codereview.chromium.org/132383005/diff/1/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/132383005/diff/1/content/browser/frame_host/render_frame_host_manager.cc#newcode532 content/browser/frame_host/render_frame_host_manager.cc:532: // frame in its parent's process. On 2014/02/04 20:11:12, ...
6 years, 10 months ago (2014-02-04 21:45:03 UTC) #3
Charlie Reis
LGTM https://codereview.chromium.org/132383005/diff/1/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/132383005/diff/1/content/browser/frame_host/render_frame_host_manager.cc#newcode532 content/browser/frame_host/render_frame_host_manager.cc:532: // frame in its parent's process. On 2014/02/04 ...
6 years, 10 months ago (2014-02-04 21:52:41 UTC) #4
jam
lgtm
6 years, 10 months ago (2014-02-04 23:31:18 UTC) #5
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 10 months ago (2014-02-14 20:07:16 UTC) #6
kenrb
The CQ bit was unchecked by kenrb@chromium.org
6 years, 10 months ago (2014-02-14 20:07:20 UTC) #7
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 10 months ago (2014-02-14 20:07:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/132383005/100001
6 years, 10 months ago (2014-02-14 20:08:13 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-14 20:37:15 UTC) #10
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=227311
6 years, 10 months ago (2014-02-14 20:37:16 UTC) #11
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 10 months ago (2014-02-18 16:32:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/132383005/100001
6 years, 10 months ago (2014-02-18 16:33:55 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-18 16:34:10 UTC) #14
commit-bot: I haz the power
Failed to apply patch for content/renderer/render_view_impl.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-18 16:34:10 UTC) #15
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 10 months ago (2014-02-18 17:29:20 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/132383005/410001
6 years, 10 months ago (2014-02-18 17:29:34 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/132383005/410001
6 years, 10 months ago (2014-02-18 18:23:08 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/132383005/410001
6 years, 10 months ago (2014-02-18 18:31:19 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-18 18:36:18 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel
6 years, 10 months ago (2014-02-18 18:36:19 UTC) #21
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 10 months ago (2014-02-18 19:04:02 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/132383005/680001
6 years, 10 months ago (2014-02-18 19:04:16 UTC) #23
commit-bot: I haz the power
6 years, 10 months ago (2014-02-19 08:02:18 UTC) #24
Message was sent while issue was closed.
Change committed as 251986

Powered by Google App Engine
This is Rietveld 408576698