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

Unified Diff: ppapi/c/pp_input_event.h

Issue 7466008: Reland http://codereview.chromium.org/7452002/ again (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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/api/ppp_instance.idl ('k') | ppapi/c/ppp_instance.h » ('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 0c7854cfbe99170020e391e3ced795fad9ee9a11..c3defc9344022e72e3bc4ce8a6c293c2641652eb 100644
--- a/ppapi/c/pp_input_event.h
+++ b/ppapi/c/pp_input_event.h
@@ -192,44 +192,6 @@ struct PP_InputEvent_Wheel {
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_InputEvent_Wheel, 24);
/**
- * The PP_InputEventData union represents all input event data types.
- */
-union PP_InputEventData {
- struct PP_InputEvent_Key key;
- struct PP_InputEvent_Character character;
- struct PP_InputEvent_Mouse mouse;
- struct PP_InputEvent_Wheel wheel;
- /**
- * This value allows new events to be added without changing the size of
- * this struct.
- */
- char padding[64];
-};
-
-/**
- * The PP_InputEvent struct represents all input events.
- */
-struct PP_InputEvent {
- /** This value represents the type of the event. */
- PP_InputEvent_Type type;
- /** This value ensure the time_stamp is aligned on an 8-byte boundary
- * relative to the start of the struct. Some compilers align doubles
- * on 8-byte boundaries for 32-bit x86, and some align on 4-byte boundaries.
- */
- int32_t padding;
- /**
- * This value represents the time that this event was generated. This value
- * is not relative to any particular epoch; the most you can do is compare
- * time stamps.
- */
- PP_TimeTicks time_stamp;
- /**
- * This value represents the event type and its specific data.
- */
- union PP_InputEventData u;
-};
-PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_InputEvent, 80);
-/**
* @}
*/
« no previous file with comments | « ppapi/api/ppp_instance.idl ('k') | ppapi/c/ppp_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698