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

Side by Side Diff: ppapi/shared_impl/ppb_input_event_shared.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/proxy/resource_creation_proxy.cc ('k') | ppapi/shared_impl/ppb_input_event_shared.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_SHARED_IMPL_PPB_INPUT_EVENT_SHARED_H_ 5 #ifndef PPAPI_SHARED_IMPL_PPB_INPUT_EVENT_SHARED_H_
6 #define PPAPI_SHARED_IMPL_PPB_INPUT_EVENT_SHARED_H_ 6 #define PPAPI_SHARED_IMPL_PPB_INPUT_EVENT_SHARED_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 const PP_Point* mouse_position, 124 const PP_Point* mouse_position,
125 int32_t click_count, 125 int32_t click_count,
126 const PP_Point* mouse_movement); 126 const PP_Point* mouse_movement);
127 static PP_Resource CreateWheelInputEvent(ResourceObjectType type, 127 static PP_Resource CreateWheelInputEvent(ResourceObjectType type,
128 PP_Instance instance, 128 PP_Instance instance,
129 PP_TimeTicks time_stamp, 129 PP_TimeTicks time_stamp,
130 uint32_t modifiers, 130 uint32_t modifiers,
131 const PP_FloatPoint* wheel_delta, 131 const PP_FloatPoint* wheel_delta,
132 const PP_FloatPoint* wheel_ticks, 132 const PP_FloatPoint* wheel_ticks,
133 PP_Bool scroll_by_page); 133 PP_Bool scroll_by_page);
134 static PP_Resource CreateTouchInputEvent(ResourceObjectType type,
135 PP_Instance instance,
136 PP_InputEvent_Type event_type,
137 PP_TimeTicks time_stamp,
138 uint32_t modifiers);
134 139
135 private: 140 private:
136 InputEventData data_; 141 InputEventData data_;
137 142
138 DISALLOW_IMPLICIT_CONSTRUCTORS(PPB_InputEvent_Shared); 143 DISALLOW_IMPLICIT_CONSTRUCTORS(PPB_InputEvent_Shared);
139 }; 144 };
140 145
141 } // namespace ppapi 146 } // namespace ppapi
142 147
143 #endif // PPAPI_SHARED_IMPL_PPB_INPUT_EVENT_SHARED_H_ 148 #endif // PPAPI_SHARED_IMPL_PPB_INPUT_EVENT_SHARED_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.cc ('k') | ppapi/shared_impl/ppb_input_event_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698