diff --git a/include/internal/cef_types.h b/include/internal/cef_types.h index 4f636eeaa..2cb82712e 100644 --- a/include/internal/cef_types.h +++ b/include/internal/cef_types.h @@ -1464,9 +1464,28 @@ typedef enum { // Key event types. /// typedef enum { + /// + // Notification that a key transitioned from "up" to "down". + /// KEYEVENT_RAWKEYDOWN = 0, + + /// + // Notification that a key was pressed. This does not necessarily correspond + // to a character depending on the key and language. Use KEYEVENT_CHAR for + // character input. + /// KEYEVENT_KEYDOWN, + + /// + // Notification that a key was released. + /// KEYEVENT_KEYUP, + + /// + // Notification that a character was typed. Use this for text input. Key + // down events may generate 0, 1, or more than one character event depending + // on the key, locale, and operating system. + /// KEYEVENT_CHAR } cef_key_event_type_t;