fullscreen_controller.mojom 755 B

1234567891011121314151617181920
  1. // Copyright 2022 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. module crosapi.mojom;
  5. // A client implemented by lacros-chrome.
  6. [Stable]
  7. interface FullscreenControllerClient {
  8. // Returns whether full screen mode should be exited on session lock/unlock.
  9. ShouldExitFullscreenBeforeLock@0() => (bool should_exit_fullscreen);
  10. };
  11. // This interface lets ash query lacros whether it should exit full screen mode.
  12. // Implemented by ash-chrome.
  13. [Stable, Uuid="49d56ccf-d93f-4fea-a9cd-ce84bc8ea4f5"]
  14. interface FullscreenController {
  15. // Registers the client that lives in lacros-chrome.
  16. AddClient@0(pending_remote<FullscreenControllerClient> client);
  17. };