CefEventFlags.cs 879 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // This file manually written from cef/include/internal/cef_types.h.
  3. // C API name: cef_event_flags_t.
  4. //
  5. namespace Xilium.CefGlue
  6. {
  7. using System;
  8. /// <summary>
  9. /// Supported event bit flags.
  10. /// </summary>
  11. [Flags]
  12. public enum CefEventFlags : uint
  13. {
  14. None = 0,
  15. CapsLockOn = 1 << 0,
  16. ShiftDown = 1 << 1,
  17. ControlDown = 1 << 2,
  18. AltDown = 1 << 3,
  19. LeftMouseButton = 1 << 4,
  20. MiddleMouseButton = 1 << 5,
  21. RightMouseButton = 1 << 6,
  22. /// <summary>
  23. /// Mac OS-X command key.
  24. /// </summary>
  25. CommandDown = 1 << 7,
  26. NumLockOn = 1 << 8,
  27. IsKeyPad = 1 << 9,
  28. IsLeft = 1 << 10,
  29. IsRight = 1 << 11,
  30. AltGrDown = 1 << 12,
  31. }
  32. }