51 lines
1.4 KiB
C#
51 lines
1.4 KiB
C#
//
|
|
// This file manually written from cef/include/internal/cef_types.h.
|
|
// C API name: cef_menu_id_t.
|
|
//
|
|
namespace Cef3
|
|
{
|
|
/// <summary>
|
|
/// Supported menu IDs. Non-English translations can be provided for the
|
|
/// IDS_MENU_* strings in CefResourceBundleHandler::GetLocalizedString().
|
|
/// </summary>
|
|
public enum CefMenuId
|
|
{
|
|
// 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,
|
|
SpellcheckSuggestionLast = 204,
|
|
NoSpellingSuggestions = 205,
|
|
AddToDictionary = 206,
|
|
|
|
// 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,
|
|
}
|
|
}
|