blob: 7b909cf584234532b8cd72a2e0ec7a999c8d5b31 [file] [log] [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;
};