DescriptionBrowserPlugin: 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 #
Messages
Total messages: 21 (6 generated)
|