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

Side by Side Diff: ppapi/api/pp_touch_point.idl

Issue 13220002: [PPAPI] Fix a bunch of spelling mistakes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/api/pp_resource.idl ('k') | ppapi/api/ppb_audio_config.idl » ('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 5
6 6
7 /** 7 /**
8 * This file defines the API to create a touch point or position where fingers 8 * This file defines the API to create a touch point or position where fingers
9 * makes contact with touch screen device. 9 * makes contact with touch screen device.
10 */ 10 */
11 11
12 /** 12 /**
13 * The <code>PP_TouchPoint</code> struct represents all information about a 13 * The <code>PP_TouchPoint</code> struct represents all information about a
14 * single touch point, such ase position, id, rotation angle, and pressure. 14 * single touch point, such as position, id, rotation angle, and pressure.
15 */ 15 */
16 [assert_size(28), returnByValue] 16 [assert_size(28), returnByValue]
17 struct PP_TouchPoint { 17 struct PP_TouchPoint {
18 /** 18 /**
19 * This value represents the identifier for this TouchPoint. The id 19 * This value represents the identifier for this TouchPoint. The id
20 * corresponds to the order in which the points were pressed. For example, 20 * corresponds to the order in which the points were pressed. For example,
21 * the first point to be pressed has an id of 0, the second has an id of 1, 21 * the first point to be pressed has an id of 0, the second has an id of 1,
22 * and so on. An id can be reused when a touch point is released. For 22 * and so on. An id can be reused when a touch point is released. For
23 * example, if two fingers are down, with id 0 and 1, and finger 0 releases, 23 * example, if two fingers are down, with id 0 and 1, and finger 0 releases,
24 * the next finger to be pressed can be assigned to id 0. 24 * the next finger to be pressed can be assigned to id 0.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 */ 65 */
66 PP_INLINE struct PP_TouchPoint PP_MakeTouchPoint(void) { 66 PP_INLINE struct PP_TouchPoint PP_MakeTouchPoint(void) {
67 struct PP_TouchPoint result = { 0, {0, 0}, {0, 0}, 0, 0 }; 67 struct PP_TouchPoint result = { 0, {0, 0}, {0, 0}, 0, 0 };
68 return result; 68 return result;
69 } 69 }
70 /** 70 /**
71 * @} 71 * @}
72 */ 72 */
73 73
74 #endinl 74 #endinl
OLDNEW
« no previous file with comments | « ppapi/api/pp_resource.idl ('k') | ppapi/api/ppb_audio_config.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698