• Justin Cohen's avatar
    Revert "[multiball] Replace AppDelegate's window with Scene's window." · d1a47173
    Justin Cohen authored
    This reverts commit 8f80402d.
    
    Reason for revert: broken downstream tests
    
    Original change's description:
    > [multiball] Replace AppDelegate's window with Scene's window.
    > 
    > 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)
    > 
    > Bug: none
    > Test: verify that the incognito screenshot blocker works as expected (I
    > Change-Id: Ic418ece228854e43aa0e4c9d9e503c1b54bca901
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827373
    > Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
    > Reviewed-by: Mark Cogan <marq@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#701569}
    
    TBR=marq@chromium.org,stkhapugin@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: 1012794
    Change-Id: I895ea478396be1db4265b8a092d6b12fed76bc5d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1849432Reviewed-by: default avatarJustin Cohen <justincohen@chromium.org>
    Commit-Queue: Justin Cohen <justincohen@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#704256}
    d1a47173
BUILD.gn 12.7 KB