// Copyright © 2016 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; namespace CefSharp { /// /// Supported context menu media state bit flags. These constants match their /// equivalents in Chromium's ContextMenuData::MediaFlags and should not be /// renumbered. /// [Flags] public enum ContextMenuMediaState { /// /// None /// None = 0, /// /// Error /// Error = 1 << 0, /// /// Paused /// Paused = 1 << 1, /// /// Muted /// Muted = 1 << 2, /// /// Loop /// Loop = 1 << 3, /// /// CanSave /// CanSave = 1 << 4, /// /// HasAudio /// HasAudio = 1 << 5, /// /// Can Toggle Controls /// CanToggleControls = 1 << 6, /// /// Controls /// Controls = 1 << 7, /// /// CanPrint /// CanPrint = 1 << 8, /// /// CanRotate /// CanRotate = 1 << 9, /// /// CanPictureInPicture /// CanPictureInPicture = 1 << 10, /// /// PictureInPicture /// PictureInPicture = 1 << 11, /// /// CanLoop /// CanLoop = 1 << 12, } }