DescriptionUse the outermost embedder WebContents in ConstrainedWindowMac.
Currently, ConstrainedWindowMac uses the embedder WebContents of the
GuestView if the 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 used instead of the
app window WebContents. This CL changes ConstrainedWindowMac to use the
outermost embedder WebContents.
This is the same fix as http://crrev.com/321248, but for mac.
BUG=457672
Committed: https://crrev.com/0a61f800e27e0e9a369d27a7e69dc8d9d90fccde
Cr-Commit-Position: refs/heads/master@{#322305}
Patch Set 1 : #
Total comments: 1
Messages
Total messages: 11 (4 generated)
|