Call WebContentsObserver::InnerWebContentsCreated for portals
InnerWebContentsCreated was only being called for GuestViews. We now call it for portal inner contents creation. This allows for test code, namely Safe Browsing tests, to be notified of the creation of the inner contents, so that test classes are created in time to observe the necessary events in the newly created contents. Bug: 1096115 Change-Id: I6cc7e3cabb72523a8c116988194db2cbd42036cc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2385775Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Reviewed-by:
Daniel Rubery <drubery@chromium.org> Commit-Queue: Kevin McNee <mcnee@chromium.org> Cr-Commit-Position: refs/heads/master@{#805921}
Showing
Please register or sign in to comment