window_properties.h 1.1 KB

123456789101112131415161718192021222324252627282930
  1. // Copyright 2021 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. #ifndef COMPONENTS_EXO_WINDOW_PROPERTIES_H_
  5. #define COMPONENTS_EXO_WINDOW_PROPERTIES_H_
  6. #include <string>
  7. #include "components/exo/protected_native_pixmap_query_delegate.h"
  8. #include "ui/base/class_property.h"
  9. namespace exo {
  10. // Application Id set by the client. For example:
  11. // "org.chromium.arc.<task-id>" for ARC++ shell surfaces.
  12. // "org.chromium.lacros.<window-id>" for Lacros browser shell surfaces.
  13. extern const ui::ClassProperty<std::string*>* const kApplicationIdKey;
  14. // Whether Restore and Maximize should exit full screen for this window.
  15. // Currently only set to true for Lacros windows.
  16. extern const ui::ClassProperty<bool>* const kRestoreOrMaximizeExitsFullscreen;
  17. // Provides access to a delegate for determining if a native pixmap corresponds
  18. // to a HW protected buffer.
  19. extern const ui::ClassProperty<ProtectedNativePixmapQueryDelegate*>* const
  20. kProtectedNativePixmapQueryDelegate;
  21. } // namespace exo
  22. #endif // COMPONENTS_EXO_WINDOW_PROPERTIES_H_