Chromium Code Reviews
DescriptionReturn the outermost embedder when returning the embedder web contents.
Currently, ChromeConstrainedWindowViewsClient::GetEmbedderWebContents
returns the embedder WebContents of the GuestView if the initiator
WebContents is in a GuestView. However, with OOP PDF, a mime handler
view can be embedded in a webview that is embedded in an app window; in
this case, the webview WebContents is returned instead of the app window
WebContents. This CL changes GetEmbedderWebContents to return the
outermost embedder WebContents.
BUG=457672
Committed: https://crrev.com/7c0b1291c525a2b6aa3fe810fd69098952bc2d5f
Cr-Commit-Position: refs/heads/master@{#321248}
Patch Set 1 #
Total comments: 2
Patch Set 2 : #Messages
Total messages: 9 (3 generated)
|