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
Review URL: https://codereview.chromium.org/1012373002
Cr-Commit-Position: refs/heads/master@{#321248}
(cherry picked from commit 7c0b1291c525a2b6aa3fe810fd69098952bc2d5f)
TBR=raymes@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/75b3e545a3d51582a28c068e48d4b89aa10ade39
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|
|||||||||||||||||||