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

Issue 1973813002: Fix Fullscreen Flash for out-of-process iframes. (Closed)

Created:
4 years, 7 months ago by alexmos
Modified:
4 years, 7 months ago
Reviewers:
ncarter (slow), miu, piman
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@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix Fullscreen Flash for out-of-process iframes. This CL: - fixes routing ID mismatch when sending ViewHostMsg_ShowFullscreenWidget - fixes main frame URL access in CreatePepperFullscreenContainer - allows swapped-out RVH to process OnShowFullscreenWidget - fixes WebContentsImpl to track the fullscreen RenderWidgetHostView using a {process_id, routing_id} pair, rather than just the widget routing_id. See https://crbug.com/593522#c3 for a slightly more detailed summary. BUG=593522 Committed: https://crrev.com/c9e76ecdcb771c7fcd975afeaeb2516af6220ab9 Cr-Commit-Position: refs/heads/master@{#393965}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -16 lines) Patch
M content/browser/renderer_host/render_view_host_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 6 chunks +10 lines, -7 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (7 generated)
alexmos
Nick, can you please take a look? https://codereview.chromium.org/1973813002/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/1973813002/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode1684 content/browser/web_contents/web_contents_impl.cc:1684: fullscreen_widget_routing_id_)); It ...
4 years, 7 months ago (2016-05-13 17:47:46 UTC) #3
alexmos
Also, no test for this yet, but I've got a lead on that -- I'll ...
4 years, 7 months ago (2016-05-13 19:16:33 UTC) #4
ncarter (slow)
+piman for a second set of eyes https://codereview.chromium.org/1973813002/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/1973813002/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode1684 content/browser/web_contents/web_contents_impl.cc:1684: fullscreen_widget_routing_id_)); On ...
4 years, 7 months ago (2016-05-13 21:40:39 UTC) #6
ncarter (slow)
oh and lgtm Tests would be nice for these behaviors, even if it's just a ...
4 years, 7 months ago (2016-05-13 21:45:22 UTC) #7
miu
lgtm too. FYI--Example of some tests I wrote to test fullscreen Flash behavior in the ...
4 years, 7 months ago (2016-05-14 01:25:26 UTC) #9
piman
lgtm lgtm
4 years, 7 months ago (2016-05-16 17:48:31 UTC) #10
alexmos
Thanks for reviewing! I've poked a bit more at a test for this (thanks miu@ ...
4 years, 7 months ago (2016-05-16 19:54:14 UTC) #11
miu
On 2016/05/16 19:54:14, alexmos wrote: > Thanks for reviewing! > > I've poked a bit ...
4 years, 7 months ago (2016-05-16 20:08:00 UTC) #12
alexmos
https://codereview.chromium.org/1973813002/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/1973813002/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode2159 content/browser/web_contents/web_contents_impl.cc:2159: void WebContentsImpl::ShowCreatedWidget(int route_id, On 2016/05/16 19:54:14, alexmos wrote: > ...
4 years, 7 months ago (2016-05-16 21:56:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1973813002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1973813002/20001
4 years, 7 months ago (2016-05-16 21:57:20 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-16 22:59:49 UTC) #17
commit-bot: I haz the power
4 years, 7 months ago (2016-05-16 23:01:21 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c9e76ecdcb771c7fcd975afeaeb2516af6220ab9
Cr-Commit-Position: refs/heads/master@{#393965}

Powered by Google App Engine
This is Rietveld 408576698