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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.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 | « no previous file | ppapi/proxy/resource_creation_proxy.cc » ('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_PROXY_RESOURCE_CREATION_PROXY_H_ 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 PP_Var character_text) OVERRIDE; 59 PP_Var character_text) OVERRIDE;
60 virtual PP_Resource CreateMouseInputEvent( 60 virtual PP_Resource CreateMouseInputEvent(
61 PP_Instance instance, 61 PP_Instance instance,
62 PP_InputEvent_Type type, 62 PP_InputEvent_Type type,
63 PP_TimeTicks time_stamp, 63 PP_TimeTicks time_stamp,
64 uint32_t modifiers, 64 uint32_t modifiers,
65 PP_InputEvent_MouseButton mouse_button, 65 PP_InputEvent_MouseButton mouse_button,
66 const PP_Point* mouse_position, 66 const PP_Point* mouse_position,
67 int32_t click_count, 67 int32_t click_count,
68 const PP_Point* mouse_movement) OVERRIDE; 68 const PP_Point* mouse_movement) OVERRIDE;
69 virtual PP_Resource CreateTouchInputEvent(
70 PP_Instance instance,
71 PP_InputEvent_Type type,
72 PP_TimeTicks time_stamp,
73 uint32_t modifiers) OVERRIDE;
69 virtual PP_Resource CreateResourceArray(PP_Instance instance, 74 virtual PP_Resource CreateResourceArray(PP_Instance instance,
70 const PP_Resource elements[], 75 const PP_Resource elements[],
71 uint32_t size) OVERRIDE; 76 uint32_t size) OVERRIDE;
72 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; 77 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE;
73 virtual PP_Resource CreateURLRequestInfo( 78 virtual PP_Resource CreateURLRequestInfo(
74 PP_Instance instance, 79 PP_Instance instance,
75 const PPB_URLRequestInfo_Data& data) OVERRIDE; 80 const PPB_URLRequestInfo_Data& data) OVERRIDE;
76 virtual PP_Resource CreateWheelInputEvent( 81 virtual PP_Resource CreateWheelInputEvent(
77 PP_Instance instance, 82 PP_Instance instance,
78 PP_TimeTicks time_stamp, 83 PP_TimeTicks time_stamp,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 158 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
154 159
155 private: 160 private:
156 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 161 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
157 }; 162 };
158 163
159 } // namespace proxy 164 } // namespace proxy
160 } // namespace ppapi 165 } // namespace ppapi
161 166
162 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 167 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW
« no previous file with comments | « no previous file | ppapi/proxy/resource_creation_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698