Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1004)

Unified Diff: ppapi/c/ppb_input_event.h

Issue 2289273002: Eraser tool type plumbing from ui/events to web events and PPAPI. (Closed)
Patch Set: The CQ works! We were stripping the SHIFT mod from NaCL events. Fixed. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/pp_macros.h ('k') | third_party/WebKit/Source/core/events/PointerEventFactory.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_input_event.h
diff --git a/ppapi/c/ppb_input_event.h b/ppapi/c/ppb_input_event.h
index ca2bf152b9ddb65a662c2e5948cdbdf9c742d538..bd2c775e53bf2995f803a50d1680d0103085dd23 100644
--- a/ppapi/c/ppb_input_event.h
+++ b/ppapi/c/ppb_input_event.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_input_event.idl modified Thu Apr 3 14:52:10 2014. */
+/* From ppb_input_event.idl modified Thu Sep 1 12:40:05 2016. */
#ifndef PPAPI_C_PPB_INPUT_EVENT_H_
#define PPAPI_C_PPB_INPUT_EVENT_H_
@@ -96,9 +96,6 @@ typedef enum {
*
* Register for this event using the PP_INPUTEVENT_CLASS_KEYBOARD class.
*/
- /*
- * TODO(brettw) differentiate from KEYDOWN.
- */
PP_INPUTEVENT_TYPE_RAWKEYDOWN = 6,
/**
* Notification that a key was pressed. This does not necessarily correspond
@@ -214,7 +211,9 @@ typedef enum {
PP_INPUTEVENT_MODIFIER_CAPSLOCKKEY = 1 << 9,
PP_INPUTEVENT_MODIFIER_NUMLOCKKEY = 1 << 10,
PP_INPUTEVENT_MODIFIER_ISLEFT = 1 << 11,
- PP_INPUTEVENT_MODIFIER_ISRIGHT = 1 << 12
+ PP_INPUTEVENT_MODIFIER_ISRIGHT = 1 << 12,
+ PP_INPUTEVENT_MODIFIER_ISPEN = 1 << 13,
+ PP_INPUTEVENT_MODIFIER_ISERASER = 1 << 14
} PP_InputEvent_Modifier;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_InputEvent_Modifier, 4);
@@ -545,9 +544,6 @@ struct PPB_MouseInputEvent_1_1 {
* mouse drags. The return value will be (0, 0) for non-mouse events.
*/
struct PP_Point (*GetPosition)(PP_Resource mouse_event);
- /*
- * TODO(brettw) figure out exactly what this means.
- */
int32_t (*GetClickCount)(PP_Resource mouse_event);
/**
* Returns the change in position of the mouse. When the mouse is locked,
« no previous file with comments | « ppapi/c/pp_macros.h ('k') | third_party/WebKit/Source/core/events/PointerEventFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698