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

Issue 549323002: BrowserPlugin: Interstitial Pages work (Closed)

Created:
6 years, 3 months ago by Fady Samuel
Modified:
6 years, 3 months ago
Reviewers:
Charlie Reis, lazyboy
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

BrowserPlugin: Interstitial Pages work This CL fixes resize, focus and cursor issues for interstitial pages inside Browser Plugin. Interstitial page RenderViewHosts are not a part of the main page's WebContents. Thus, BrowserPluginGuest's (a WebContentsObserver) OnMessageReceived method will not catch IPCs coming from interstitials. However, guest interstitials have RenderWidgetHostViewGuests. By hanlding focus, resize, cursors and the like through RenderWidgetHostViewGuest, we ensure that interstitial pages get the same treatment inside a BrowserPlugin as RenderViewHosts that belong to the guest WebContents. BUG=273089 Committed: https://crrev.com/9e3d9ad06062b656f0366f7828ad870b5430f999 Cr-Commit-Position: refs/heads/master@{#294281}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed comments #

Patch Set 3 : Rebased #

Patch Set 4 : Cleaned up comments #

Patch Set 5 : Rebased #

Patch Set 6 : Fixed unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -29 lines) Patch
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 4 chunks +4 lines, -5 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 5 chunks +21 lines, -21 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 3 4 5 4 chunks +31 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
Fady Samuel
Ignore the CompositingHelper change, that's a remnant from another CL that's in the CQ. Otherwise, ...
6 years, 3 months ago (2014-09-08 22:19:39 UTC) #2
lazyboy
Requesting clarifications on the CL and probably add a bit more CL description. https://chromiumcodereview.appspot.com/549323002/diff/1/content/browser/browser_plugin/browser_plugin_guest.h File ...
6 years, 3 months ago (2014-09-09 07:04:45 UTC) #3
Fady Samuel
PTAL https://codereview.chromium.org/549323002/diff/1/content/browser/browser_plugin/browser_plugin_guest.h File content/browser/browser_plugin/browser_plugin_guest.h (left): https://codereview.chromium.org/549323002/diff/1/content/browser/browser_plugin/browser_plugin_guest.h#oldcode309 content/browser/browser_plugin/browser_plugin_guest.h:309: void OnDragStopped(); On 2014/09/09 07:04:45, lazyboy wrote: > ...
6 years, 3 months ago (2014-09-09 17:14:49 UTC) #4
lazyboy
lgtm
6 years, 3 months ago (2014-09-09 18:32:24 UTC) #5
Fady Samuel
+creis@ for web_contents_view_guest, and render_widget_host_view_guest.
6 years, 3 months ago (2014-09-09 18:43:57 UTC) #7
Charlie Reis
On 2014/09/09 18:43:57, Fady Samuel wrote: > +creis@ for web_contents_view_guest, and render_widget_host_view_guest. Hmm, I also ...
6 years, 3 months ago (2014-09-10 01:00:05 UTC) #8
Fady Samuel
On 2014/09/10 01:00:05, Charlie Reis wrote: > On 2014/09/09 18:43:57, Fady Samuel wrote: > > ...
6 years, 3 months ago (2014-09-10 15:36:49 UTC) #9
Fady Samuel
PTAL, I've rebased the patch and cleaned up the comments. Hopefully this is more readable ...
6 years, 3 months ago (2014-09-10 15:37:47 UTC) #10
Charlie Reis
Rubber stamp LGTM. Will there be a test for interstitials inside <webview> tags? (Not sure ...
6 years, 3 months ago (2014-09-10 19:55:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/549323002/60001
6 years, 3 months ago (2014-09-10 21:02:14 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/65208) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/54241) win_gpu ...
6 years, 3 months ago (2014-09-10 21:21:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/549323002/80001
6 years, 3 months ago (2014-09-10 21:35:48 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/549323002/100001
6 years, 3 months ago (2014-09-10 23:18:14 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001) as 28626ecb6bfec0e17bf24354720987010e69d0ec
6 years, 3 months ago (2014-09-11 01:05:25 UTC) #20
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 01:07:50 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9e3d9ad06062b656f0366f7828ad870b5430f999
Cr-Commit-Position: refs/heads/master@{#294281}

Powered by Google App Engine
This is Rietveld 408576698