CefMenuId.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //
  2. // This file manually written from cef/include/internal/cef_types.h.
  3. // C API name: cef_menu_id_t.
  4. //
  5. namespace Xilium.CefGlue
  6. {
  7. /// <summary>
  8. /// Supported menu IDs. Non-English translations can be provided for the
  9. /// IDS_MENU_* strings in CefResourceBundleHandler::GetLocalizedString().
  10. /// </summary>
  11. public enum CefMenuId
  12. {
  13. // Navigation.
  14. Back = 100,
  15. Forward = 101,
  16. Reload = 102,
  17. ReloadNoCache = 103,
  18. StopLoad = 104,
  19. // Editing.
  20. Undo = 110,
  21. Redo = 111,
  22. Cut = 112,
  23. Copy = 113,
  24. Paste = 114,
  25. Delete = 115,
  26. SelectAll = 116,
  27. // Miscellaneous.
  28. Find = 130,
  29. Print = 131,
  30. ViewSource = 132,
  31. // Spell checking word correction suggestions.
  32. SpellcheckSuggestion0 = 200,
  33. SpellcheckSuggestion1 = 201,
  34. SpellcheckSuggestion2 = 202,
  35. SpellcheckSuggestion3 = 203,
  36. SpellcheckSuggestion4 = 204,
  37. SpellcheckSuggestionLast = 204,
  38. NoSpellingSuggestions = 205,
  39. AddToDictionary = 206,
  40. // Custom menu items originating from the renderer process. For example,
  41. // plugin placeholder menu items.
  42. CustomFirst = 220,
  43. CustomLast = 250,
  44. // All user-defined menu IDs should come between MENU_ID_USER_FIRST and
  45. // MENU_ID_USER_LAST to avoid overlapping the Chromium and CEF ID ranges
  46. // defined in the tools/gritsettings/resource_ids file.
  47. UserFirst = 26500,
  48. UserLast = 28500,
  49. }
  50. }