| // Copyright 2021 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef UI_GFX_OVERLAY_PRIORITY_HINT_H_ |
| #define UI_GFX_OVERLAY_PRIORITY_HINT_H_ |
| // Provides a hint to a system compositor how it should prioritize this |
| // overlay. Used only by Wayland. |
| enum OverlayPriorityHint : uint8_t { |
| // Overlay promotion is not necessary for this surface. |
| // The overlay could be considered as a candidate for promotion. |
| // The overlay contains protected content and requires to be promoted to |
| // The overlay contains a video. Can be a candidate for promotion. |
| #endif // UI_GFX_OVERLAY_PRIORITY_HINT_H_ |