This repository has been archived on 2025-03-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
xerobrowser/packages/CefSharp.Common.113.3.50/src/CefSharp/Enums/ContextMenuMediaState.cs
2023-06-07 22:24:57 +12:00

74 lines
1.8 KiB
C#

// 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
{
/// <summary>
/// Supported context menu media state bit flags. These constants match their
/// equivalents in Chromium's ContextMenuData::MediaFlags and should not be
/// renumbered.
/// </summary>
[Flags]
public enum ContextMenuMediaState
{
/// <summary>
/// None
/// </summary>
None = 0,
/// <summary>
/// Error
/// </summary>
Error = 1 << 0,
/// <summary>
/// Paused
/// </summary>
Paused = 1 << 1,
/// <summary>
/// Muted
/// </summary>
Muted = 1 << 2,
/// <summary>
/// Loop
/// </summary>
Loop = 1 << 3,
/// <summary>
/// CanSave
/// </summary>
CanSave = 1 << 4,
/// <summary>
/// HasAudio
/// </summary>
HasAudio = 1 << 5,
/// <summary>
/// Can Toggle Controls
/// </summary>
CanToggleControls = 1 << 6,
/// <summary>
/// Controls
/// </summary>
Controls = 1 << 7,
/// <summary>
/// CanPrint
/// </summary>
CanPrint = 1 << 8,
/// <summary>
/// CanRotate
/// </summary>
CanRotate = 1 << 9,
/// <summary>
/// CanPictureInPicture
/// </summary>
CanPictureInPicture = 1 << 10,
/// <summary>
/// PictureInPicture
/// </summary>
PictureInPicture = 1 << 11,
/// <summary>
/// CanLoop
/// </summary>
CanLoop = 1 << 12,
}
}