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