summaryrefslogtreecommitdiffstats
path: root/ppapi/c/ppb_input_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/c/ppb_input_event.h')
-rw-r--r--ppapi/c/ppb_input_event.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/ppapi/c/ppb_input_event.h b/ppapi/c/ppb_input_event.h
index af6ad1f..7d94861 100644
--- a/ppapi/c/ppb_input_event.h
+++ b/ppapi/c/ppb_input_event.h
@@ -1,9 +1,9 @@
-/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
+/* Copyright (c) 2012 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.
*/
-/* From ppb_input_event.idl modified Wed Nov 2 09:59:40 2011. */
+/* From ppb_input_event.idl modified Mon Nov 14 10:36:01 2011. */
#ifndef PPAPI_C_PPB_INPUT_EVENT_H_
#define PPAPI_C_PPB_INPUT_EVENT_H_
@@ -248,7 +248,7 @@ PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_InputEvent_Class, 4);
* The <code>PPB_InputEvent</code> interface contains pointers to several
* functions related to generic input events on the browser.
*/
-struct PPB_InputEvent {
+struct PPB_InputEvent_1_0 {
/**
* RequestInputEvent() requests that input events corresponding to the given
* input events are delivered to the instance.
@@ -408,11 +408,13 @@ struct PPB_InputEvent {
uint32_t (*GetModifiers)(PP_Resource event);
};
+typedef struct PPB_InputEvent_1_0 PPB_InputEvent;
+
/**
* The <code>PPB_MouseInputEvent</code> interface contains pointers to several
* functions related to mouse input events.
*/
-struct PPB_MouseInputEvent {
+struct PPB_MouseInputEvent_1_1 {
/**
* Create() creates a mouse input event with the given parameters. Normally
* you will get a mouse event passed through the
@@ -507,6 +509,8 @@ struct PPB_MouseInputEvent {
struct PP_Point (*GetMovement)(PP_Resource mouse_event);
};
+typedef struct PPB_MouseInputEvent_1_1 PPB_MouseInputEvent;
+
struct PPB_MouseInputEvent_1_0 {
PP_Resource (*Create)(PP_Instance instance,
PP_InputEvent_Type type,
@@ -525,7 +529,7 @@ struct PPB_MouseInputEvent_1_0 {
* The <code>PPB_WheelIputEvent</code> interface contains pointers to several
* functions related to wheel input events.
*/
-struct PPB_WheelInputEvent {
+struct PPB_WheelInputEvent_1_0 {
/**
* Create() creates a wheel input event with the given parameters. Normally
* you will get a wheel event passed through the
@@ -629,11 +633,13 @@ struct PPB_WheelInputEvent {
PP_Bool (*GetScrollByPage)(PP_Resource wheel_event);
};
+typedef struct PPB_WheelInputEvent_1_0 PPB_WheelInputEvent;
+
/**
* The <code>PPB_KeyboardInputEvent</code> interface contains pointers to
* several functions related to keyboard input events.
*/
-struct PPB_KeyboardInputEvent {
+struct PPB_KeyboardInputEvent_1_0 {
/**
* Creates a keyboard input event with the given parameters. Normally you
* will get a keyboard event passed through the HandleInputEvent and will not
@@ -698,6 +704,8 @@ struct PPB_KeyboardInputEvent {
*/
struct PP_Var (*GetCharacterText)(PP_Resource character_event);
};
+
+typedef struct PPB_KeyboardInputEvent_1_0 PPB_KeyboardInputEvent;
/**
* @}
*/