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

Unified Diff: ppapi/api/ppb_input_event.idl

Issue 10905131: Update PP_InputEvent_Modifier enum to match WebInputEvent::Modifiers (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 | « no previous file | ppapi/c/ppb_input_event.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 68ffadc38d48385fce50ea50597d6e154f9a95e9..73e279d8d144c53abf6f8a6ec2f15e7a23d8f73a 100644
--- a/ppapi/api/ppb_input_event.idl
+++ b/ppapi/api/ppb_input_event.idl
@@ -196,7 +196,9 @@ enum PP_InputEvent_Modifier {
PP_INPUTEVENT_MODIFIER_MIDDLEBUTTONDOWN = 1 << 7,
PP_INPUTEVENT_MODIFIER_RIGHTBUTTONDOWN = 1 << 8,
PP_INPUTEVENT_MODIFIER_CAPSLOCKKEY = 1 << 9,
- PP_INPUTEVENT_MODIFIER_NUMLOCKKEY = 1 << 10
+ PP_INPUTEVENT_MODIFIER_NUMLOCKKEY = 1 << 10,
+ PP_INPUTEVENT_MODIFIER_ISLEFT = 1 << 11,
+ PP_INPUTEVENT_MODIFIER_ISRIGHT = 1 << 12
};
/**
@@ -400,7 +402,7 @@ interface PPB_InputEvent {
*
* @param[in] resource A <code>PP_Resource</code> corresponding to a generic
* resource.
- *
+ *
* @return <code>PP_TRUE</code> if the given resource is a valid input event
* resource.
*/
@@ -408,12 +410,12 @@ interface PPB_InputEvent {
/**
* GetType() returns the type of input event for the given input event
- * resource.
+ * resource.
*
* @param[in] resource A <code>PP_Resource</code> corresponding to an input
* event.
*
- * @return A <code>PP_InputEvent_Type</code> if its a valid input event or
+ * @return A <code>PP_InputEvent_Type</code> if its a valid input event or
* <code>PP_INPUTEVENT_TYPE_UNDEFINED</code> if the resource is invalid.
*/
PP_InputEvent_Type GetType([in] PP_Resource event);
@@ -425,7 +427,7 @@ interface PPB_InputEvent {
* events without being sensitive to variable processing time.
*
* @param[in] resource A <code>PP_Resource</code> corresponding to the event.
- *
+ *
* @return The return value is in time ticks, which is a monotonically
* increasing clock not related to the wall clock time. It will not change
* if the user changes their clock or daylight savings time starts, so can
@@ -741,7 +743,7 @@ interface PPB_KeyboardInputEvent {
/**
* IsKeyboardInputEvent() determines if a resource is a keyboard event.
- *
+ *
* @param[in] resource A <code>PP_Resource</code> corresponding to an event.
*
* @return <code>PP_TRUE</code> if the given resource is a valid input event.
« no previous file with comments | « no previous file | ppapi/c/ppb_input_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698