forked from Pissandshittium/pissandshittium
-
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.
Lacros: Support KeepFullscreenWithoutNotification policy
This CL adds support for the KeepFullscreenWithoutNotification policy for lacros browser and app windows. The implementation from ash is mimicked in lacros. - A fullscreen controller crosapi is added to allow ash to query lacros whether it should exit full screen before lock. - The kKeepFullscreenWithoutNotificationUrlAllowList pref and common logic are moved to //chromeos/ui/wm/fullscreen which is accessible from //ash and //chrome/browser/lacros. - ShouldExitFullscreenBeforeLock() in //ash/session/fullscreen_controller is replaced with MaybeExitFullscreenBeforeLock(PrepareForLockCallback) to handle the crosapi callback from lacros. Bug: 1348155, b:213295466 Change-Id: Idc361f0e0e6c3fde831f9dac20e4d0bef0adfdb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3497703 Reviewed-by: Dominic Battré <battre@chromium.org> Reviewed-by: Erik Chen <erikchen@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Alexander Hendrich <hendrich@chromium.org> Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> Commit-Queue: Anina Koehler <aninak@google.com> Cr-Commit-Position: refs/heads/main@{#1033387}
- Loading branch information
Showing
42 changed files
with
1,013 additions
and
99 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
Oops, something went wrong.