Reland of [multiball] Replace AppDelegate's window with Scene's window.
This is a reland of http://crrev.com/c/1827373. The original CL broke downstream multitasking fix. This includes a fix to multitasking tests. Original description: Adds |window| property to SceneState. It is backed by SceneDelegate's |window| property and by UIWindowScene's |scenes| property on iOS 13 with multiwindow; or with an ivar otherwise. When it's an ivar, SceneController is now responsible for window creation. Note that the getter for AppDelegate's window remains for iOS 12 compat. Note that the window is always a ChromeOverlayWindow. have tested it manually on my machine and it still works) Change-Id: Id286f8c8d957504558effdfd1e9d7ac22ad2a23c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1856320Reviewed-by:Mark Cogan <marq@chromium.org> Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org> Cr-Commit-Position: refs/heads/master@{#706389}
Showing
Please register or sign in to comment