blob: 387d8cb8a96de77e6bd7480c6d86b802db5985b5 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// 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";
// Mojo equivalent to media::DisplayMediaInformation. See also
// media/base/display_media_information.h
enum DisplayCaptureSurfaceType {
MONITOR,
WINDOW,
APPLICATION,
BROWSER,
};
enum CursorCaptureType {
NEVER,
ALWAYS,
MOTION,
};
struct DisplayMediaInformation {
DisplayCaptureSurfaceType display_surface;
bool logical_surface;
CursorCaptureType cursor;
CaptureHandle? capture_handle;
};