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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 10543159: ppapi: Add support for 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/ppapi_sources.gypi ('k') | ppapi/shared_impl/ppb_input_event_shared.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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 IPC_STRUCT_TRAITS_MEMBER(permission) 138 IPC_STRUCT_TRAITS_MEMBER(permission)
139 IPC_STRUCT_TRAITS_END() 139 IPC_STRUCT_TRAITS_END()
140 140
141 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) 141 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData)
142 IPC_STRUCT_TRAITS_MEMBER(rect) 142 IPC_STRUCT_TRAITS_MEMBER(rect)
143 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) 143 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen)
144 IPC_STRUCT_TRAITS_MEMBER(is_page_visible) 144 IPC_STRUCT_TRAITS_MEMBER(is_page_visible)
145 IPC_STRUCT_TRAITS_MEMBER(clip_rect) 145 IPC_STRUCT_TRAITS_MEMBER(clip_rect)
146 IPC_STRUCT_TRAITS_END() 146 IPC_STRUCT_TRAITS_END()
147 147
148 IPC_STRUCT_TRAITS_BEGIN(PP_TouchPoint)
149 IPC_STRUCT_TRAITS_MEMBER(id)
150 IPC_STRUCT_TRAITS_MEMBER(position)
151 IPC_STRUCT_TRAITS_MEMBER(radius)
152 IPC_STRUCT_TRAITS_MEMBER(rotation_angle)
153 IPC_STRUCT_TRAITS_MEMBER(pressure)
154 IPC_STRUCT_TRAITS_END()
155
148 IPC_STRUCT_TRAITS_BEGIN(ppapi::Preferences) 156 IPC_STRUCT_TRAITS_BEGIN(ppapi::Preferences)
149 IPC_STRUCT_TRAITS_MEMBER(standard_font_family_map) 157 IPC_STRUCT_TRAITS_MEMBER(standard_font_family_map)
150 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family_map) 158 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family_map)
151 IPC_STRUCT_TRAITS_MEMBER(serif_font_family_map) 159 IPC_STRUCT_TRAITS_MEMBER(serif_font_family_map)
152 IPC_STRUCT_TRAITS_MEMBER(sans_serif_font_family_map) 160 IPC_STRUCT_TRAITS_MEMBER(sans_serif_font_family_map)
153 IPC_STRUCT_TRAITS_MEMBER(default_font_size) 161 IPC_STRUCT_TRAITS_MEMBER(default_font_size)
154 IPC_STRUCT_TRAITS_MEMBER(default_fixed_font_size) 162 IPC_STRUCT_TRAITS_MEMBER(default_fixed_font_size)
155 IPC_STRUCT_TRAITS_MEMBER(number_of_cpu_cores) 163 IPC_STRUCT_TRAITS_MEMBER(number_of_cpu_cores)
156 IPC_STRUCT_TRAITS_MEMBER(is_3d_supported) 164 IPC_STRUCT_TRAITS_MEMBER(is_3d_supported)
157 IPC_STRUCT_TRAITS_MEMBER(is_stage3d_supported) 165 IPC_STRUCT_TRAITS_MEMBER(is_stage3d_supported)
(...skipping 11 matching lines...) Expand all
169 IPC_STRUCT_TRAITS_MEMBER(wheel_delta) 177 IPC_STRUCT_TRAITS_MEMBER(wheel_delta)
170 IPC_STRUCT_TRAITS_MEMBER(wheel_ticks) 178 IPC_STRUCT_TRAITS_MEMBER(wheel_ticks)
171 IPC_STRUCT_TRAITS_MEMBER(wheel_scroll_by_page) 179 IPC_STRUCT_TRAITS_MEMBER(wheel_scroll_by_page)
172 IPC_STRUCT_TRAITS_MEMBER(key_code) 180 IPC_STRUCT_TRAITS_MEMBER(key_code)
173 IPC_STRUCT_TRAITS_MEMBER(usb_key_code) 181 IPC_STRUCT_TRAITS_MEMBER(usb_key_code)
174 IPC_STRUCT_TRAITS_MEMBER(character_text) 182 IPC_STRUCT_TRAITS_MEMBER(character_text)
175 IPC_STRUCT_TRAITS_MEMBER(composition_segment_offsets) 183 IPC_STRUCT_TRAITS_MEMBER(composition_segment_offsets)
176 IPC_STRUCT_TRAITS_MEMBER(composition_target_segment) 184 IPC_STRUCT_TRAITS_MEMBER(composition_target_segment)
177 IPC_STRUCT_TRAITS_MEMBER(composition_selection_start) 185 IPC_STRUCT_TRAITS_MEMBER(composition_selection_start)
178 IPC_STRUCT_TRAITS_MEMBER(composition_selection_end) 186 IPC_STRUCT_TRAITS_MEMBER(composition_selection_end)
187 IPC_STRUCT_TRAITS_MEMBER(touches)
188 IPC_STRUCT_TRAITS_MEMBER(changed_touches)
189 IPC_STRUCT_TRAITS_MEMBER(target_touches)
179 IPC_STRUCT_TRAITS_END() 190 IPC_STRUCT_TRAITS_END()
180 191
181 IPC_STRUCT_TRAITS_BEGIN(ppapi::HostPortPair) 192 IPC_STRUCT_TRAITS_BEGIN(ppapi::HostPortPair)
182 IPC_STRUCT_TRAITS_MEMBER(host) 193 IPC_STRUCT_TRAITS_MEMBER(host)
183 IPC_STRUCT_TRAITS_MEMBER(port) 194 IPC_STRUCT_TRAITS_MEMBER(port)
184 IPC_STRUCT_TRAITS_END() 195 IPC_STRUCT_TRAITS_END()
185 196
186 IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data) 197 IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data)
187 IPC_STRUCT_TRAITS_MEMBER(url) 198 IPC_STRUCT_TRAITS_MEMBER(url)
188 IPC_STRUCT_TRAITS_MEMBER(method) 199 IPC_STRUCT_TRAITS_MEMBER(method)
(...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 // PPB_X509Certificate_Private 1390 // PPB_X509Certificate_Private
1380 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, 1391 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
1381 std::vector<char> /* der */, 1392 std::vector<char> /* der */,
1382 bool /* succeeded */, 1393 bool /* succeeded */,
1383 ppapi::PPB_X509Certificate_Fields /* result */) 1394 ppapi::PPB_X509Certificate_Fields /* result */)
1384 1395
1385 // PPB_Font. 1396 // PPB_Font.
1386 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, 1397 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
1387 std::string /* result */) 1398 std::string /* result */)
1388 #endif // !defined(OS_NACL) 1399 #endif // !defined(OS_NACL)
OLDNEW
« no previous file with comments | « ppapi/ppapi_sources.gypi ('k') | ppapi/shared_impl/ppb_input_event_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698