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

Side by Side Diff: ppapi/thunk/resource_creation_api.h

Issue 10634017: ppapi: Add ResourceCreationAPI::CreateTouchInputEvent for creating touch-events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/thunk/ppb_input_event_thunk.cc ('k') | webkit/plugins/ppapi/resource_creation_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_ 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_
7 7
8 #include "ppapi/c/dev/ppb_audio_input_dev.h" 8 #include "ppapi/c/dev/ppb_audio_input_dev.h"
9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 struct PP_Var character_text) = 0; 64 struct PP_Var character_text) = 0;
65 virtual PP_Resource CreateMouseInputEvent( 65 virtual PP_Resource CreateMouseInputEvent(
66 PP_Instance instance, 66 PP_Instance instance,
67 PP_InputEvent_Type type, 67 PP_InputEvent_Type type,
68 PP_TimeTicks time_stamp, 68 PP_TimeTicks time_stamp,
69 uint32_t modifiers, 69 uint32_t modifiers,
70 PP_InputEvent_MouseButton mouse_button, 70 PP_InputEvent_MouseButton mouse_button,
71 const PP_Point* mouse_position, 71 const PP_Point* mouse_position,
72 int32_t click_count, 72 int32_t click_count,
73 const PP_Point* mouse_movement) = 0; 73 const PP_Point* mouse_movement) = 0;
74 virtual PP_Resource CreateTouchInputEvent(
75 PP_Instance instance,
76 PP_InputEvent_Type type,
77 PP_TimeTicks time_stamp,
78 uint32_t modifiers) = 0;
74 virtual PP_Resource CreateResourceArray(PP_Instance instance, 79 virtual PP_Resource CreateResourceArray(PP_Instance instance,
75 const PP_Resource elements[], 80 const PP_Resource elements[],
76 uint32_t size) = 0; 81 uint32_t size) = 0;
77 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; 82 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0;
78 virtual PP_Resource CreateURLRequestInfo( 83 virtual PP_Resource CreateURLRequestInfo(
79 PP_Instance instance, 84 PP_Instance instance,
80 const PPB_URLRequestInfo_Data& data) = 0; 85 const PPB_URLRequestInfo_Data& data) = 0;
81 virtual PP_Resource CreateWheelInputEvent( 86 virtual PP_Resource CreateWheelInputEvent(
82 PP_Instance instance, 87 PP_Instance instance,
83 PP_TimeTicks time_stamp, 88 PP_TimeTicks time_stamp,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; 155 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0;
151 #endif // !defined(OS_NACL) 156 #endif // !defined(OS_NACL)
152 157
153 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 158 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
154 }; 159 };
155 160
156 } // namespace thunk 161 } // namespace thunk
157 } // namespace ppapi 162 } // namespace ppapi
158 163
159 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 164 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_input_event_thunk.cc ('k') | webkit/plugins/ppapi/resource_creation_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698