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

Unified Diff: ppapi/api/ppb_input_event.idl

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 | « content/renderer/pepper/event_conversion.cc ('k') | ppapi/c/pp_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/ppb_input_event.idl
diff --git a/ppapi/api/ppb_input_event.idl b/ppapi/api/ppb_input_event.idl
index b9224fa584ad4e47ef060249fb0f80b3f67d72f4..b737a2e4832b7bacb66b7739c2ae1bf048833b5e 100644
--- a/ppapi/api/ppb_input_event.idl
+++ b/ppapi/api/ppb_input_event.idl
@@ -10,7 +10,8 @@
label Chrome {
M13 = 1.0,
M14 = 1.1,
- M34 = 1.2
+ M34 = 1.2,
+ M55 = 1.3
};
/**
@@ -68,10 +69,6 @@ enum PP_InputEvent_Type {
*
* Register for this event using the PP_INPUTEVENT_CLASS_KEYBOARD class.
*/
-
- /*
- * TODO(brettw) differentiate from KEYDOWN.
- */
PP_INPUTEVENT_TYPE_RAWKEYDOWN = 6,
/**
@@ -199,7 +196,11 @@ enum PP_InputEvent_Modifier {
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,
+ [version=1.3]
+ PP_INPUTEVENT_MODIFIER_ISPEN = 1 << 13,
+ [version=1.3]
+ PP_INPUTEVENT_MODIFIER_ISERASER = 1 << 14
};
/**
@@ -573,9 +574,6 @@ interface PPB_MouseInputEvent {
*/
[returnByValue] PP_Point GetPosition([in] PP_Resource mouse_event);
- /*
- * TODO(brettw) figure out exactly what this means.
- */
int32_t GetClickCount([in] PP_Resource mouse_event);
/**
« no previous file with comments | « content/renderer/pepper/event_conversion.cc ('k') | ppapi/c/pp_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698