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

Unified Diff: ppapi/c/pp_input_event.h

Issue 6257011: PPAPI: Add context menu events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: drive-by Created 9 years, 11 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 | webkit/plugins/ppapi/event_conversion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/pp_input_event.h
diff --git a/ppapi/c/pp_input_event.h b/ppapi/c/pp_input_event.h
index 0aae4ea417a176c71bffb20efcb95247a1545061..f1a46cfee8ff12ec6d7451324f336da199e5afd9 100644
--- a/ppapi/c/pp_input_event.h
+++ b/ppapi/c/pp_input_event.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010 The Chromium Authors. All rights reserved.
+/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -27,17 +27,18 @@ typedef enum {
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_InputEvent_MouseButton, 4);
typedef enum {
- PP_INPUTEVENT_TYPE_UNDEFINED = -1,
- PP_INPUTEVENT_TYPE_MOUSEDOWN = 0,
- PP_INPUTEVENT_TYPE_MOUSEUP = 1,
- PP_INPUTEVENT_TYPE_MOUSEMOVE = 2,
- PP_INPUTEVENT_TYPE_MOUSEENTER = 3,
- PP_INPUTEVENT_TYPE_MOUSELEAVE = 4,
- PP_INPUTEVENT_TYPE_MOUSEWHEEL = 5,
- PP_INPUTEVENT_TYPE_RAWKEYDOWN = 6,
- PP_INPUTEVENT_TYPE_KEYDOWN = 7,
- PP_INPUTEVENT_TYPE_KEYUP = 8,
- PP_INPUTEVENT_TYPE_CHAR = 9
+ PP_INPUTEVENT_TYPE_UNDEFINED = -1,
+ PP_INPUTEVENT_TYPE_MOUSEDOWN = 0, // PP_InputEvent_Mouse
+ PP_INPUTEVENT_TYPE_MOUSEUP = 1, // PP_InputEvent_Mouse
+ PP_INPUTEVENT_TYPE_MOUSEMOVE = 2, // PP_InputEvent_Mouse
+ PP_INPUTEVENT_TYPE_MOUSEENTER = 3, // PP_InputEvent_Mouse
+ PP_INPUTEVENT_TYPE_MOUSELEAVE = 4, // PP_InputEvent_Mouse
+ PP_INPUTEVENT_TYPE_MOUSEWHEEL = 5, // PP_InputEvent_Wheel
+ PP_INPUTEVENT_TYPE_RAWKEYDOWN = 6, // PP_InputEvent_Key
+ PP_INPUTEVENT_TYPE_KEYDOWN = 7, // PP_InputEvent_Key
+ PP_INPUTEVENT_TYPE_KEYUP = 8, // PP_InputEvent_Key
+ PP_INPUTEVENT_TYPE_CHAR = 9, // PP_InputEvent_Character
+ PP_INPUTEVENT_TYPE_CONTEXTMENU = 10 // PP_InputEvent_Mouse
} PP_InputEvent_Type;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_InputEvent_Type, 4);
@@ -194,4 +195,3 @@ PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_InputEvent, 80);
*/
#endif /* PPAPI_C_PP_INPUT_EVENT_H_ */
-
« no previous file with comments | « no previous file | webkit/plugins/ppapi/event_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698