[M120 Migration][MM] Framerate calculation
[platform/framework/web/chromium-efl.git] / media / mojo / mojom / display_media_information.mojom
1 // Copyright 2018 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module media.mojom;
6
7 import "media/mojo/mojom/capture_handle.mojom";
8
9 // Describes the different types of display surface.
10 enum DisplayCaptureSurfaceType {
11   MONITOR,
12   WINDOW,
13   BROWSER,
14 };
15
16 // Describes the conditions under which the cursor is captured.
17 enum CursorCaptureType {
18   NEVER,
19   ALWAYS,
20   MOTION,
21 };
22
23 struct DisplayMediaInformation {
24   DisplayCaptureSurfaceType display_surface;
25   bool logical_surface;
26   CursorCaptureType cursor;
27   CaptureHandle? capture_handle;
28 };