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.87.1.132/src/CefSharp/Enums/CefMenuCommand.cs
2023-02-20 23:24:10 +13:00

58 lines
1.7 KiB
C#

// Copyright © 2015 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.
namespace CefSharp
{
public enum CefMenuCommand
{
NotFound = -1,
// Navigation.
Back = 100,
Forward = 101,
Reload = 102,
ReloadNoCache = 103,
StopLoad = 104,
// Editing.
Undo = 110,
Redo = 111,
Cut = 112,
Copy = 113,
Paste = 114,
Delete = 115,
SelectAll = 116,
// Miscellaneous.
Find = 130,
Print = 131,
ViewSource = 132,
// Spell checking word correction suggestions.
SpellCheckSuggestion0 = 200,
SpellCheckSuggestion1 = 201,
SpellCheckSuggestion2 = 202,
SpellCheckSuggestion3 = 203,
SpellCheckSuggestion4 = 204,
SpellCheckLastSuggestion = 204,
SpellCheckNoSuggestions = 205,
AddToDictionary = 206,
/// <summary>
/// Custom menu items originating from the renderer process. For example, plugin placeholder menu items or Flash menu items.
/// This is the first entry
/// </summary>
CustomFirst = 220,
/// <summary>
/// Custom menu items originating from the renderer process. For example, plugin placeholder menu items or Flash menu items.
/// This is the last entry
/// </summary>
CustomLast = 250,
// All user-defined menu IDs should come between MENU_ID_USER_FIRST and
// MENU_ID_USER_LAST to avoid overlapping the Chromium and CEF ID ranges
// defined in the tools/gritsettings/resource_ids file.
UserFirst = 26500,
UserLast = 28500
}
}