forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify ArImmersiveOverlay to only use SurfaceView
ArImmersiveOverlay previously chose between using a SurfaceView or using a Dialog to show AR content based on whether or not the DOMOverlay feature was enabled. This changes it to use only a SurfaceView; however, this now requires the page to always enter fullscreen for Android AR sessions so that the SurfaceView does not appear behind any system UI. Not only does this simplify the rendering path and choices for AR, but it is required to actually show InfoBars or Prompts in front of AR Content (though there is still some outstanding work to be done before that can actually happen). Though the events weren't being forwarded to the page, this adds two further checks that the DOM Overlay feature is enabled before both sending or processing data that is used to generate the beforexrselect event. Bug: 1203490 Change-Id: I28c5bb6a8c9f2d84ecc03bc0a2084bf84c6e2f7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2857524 Commit-Queue: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Auto-Submit: Alexander Cooper <alcooper@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Klaus Weidner <klausw@chromium.org> Cr-Commit-Position: refs/heads/master@{#879170}
- Loading branch information
1 parent
183830a
commit af70b30
Showing
10 changed files
with
126 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.