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

Side by Side Diff: ppapi/api/pp_input_event.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, 8 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_file_info.idl ('k') | ppapi/api/pp_resource.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 * This file defines the API used to handle mouse and keyboard input events. 7 * This file defines the API used to handle mouse and keyboard input events.
8 */ 8 */
9 9
10 /** 10 /**
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 * a '%'. The key down and up events will give you the scan code for the "5" 47 * a '%'. The key down and up events will give you the scan code for the "5"
48 * key, and the character event will give you the '%' character. 48 * key, and the character event will give you the '%' character.
49 * 49 *
50 * You may not get a character event for all key down events if the key doesn't 50 * You may not get a character event for all key down events if the key doesn't
51 * generate a character. Likewise, you may actually get multiple character 51 * generate a character. Likewise, you may actually get multiple character
52 * events in a row. For example, some locales have an accent key that modifies 52 * events in a row. For example, some locales have an accent key that modifies
53 * the next character typed. You might get this stream of events: accent down, 53 * the next character typed. You might get this stream of events: accent down,
54 * accent up (it didn't generate a character), letter key down, letter with 54 * accent up (it didn't generate a character), letter key down, letter with
55 * accent character event (it was modified by the previous accent key), letter 55 * accent character event (it was modified by the previous accent key), letter
56 * key up. If the letter can't be combined with the accent, like an umlaut and 56 * key up. If the letter can't be combined with the accent, like an umlaut and
57 * an 'R', the system might send unlaut down, umlaut up, 'R' key down, umlaut 57 * an 'R', the system might send umlaut down, umlaut up, 'R' key down, umlaut
58 * character (can't combine it with 'R', so just send the raw unlaut so it 58 * character (can't combine it with 'R', so just send the raw umlaut so it
59 * isn't lost"), 'R' character event, 'R' key up. 59 * isn't lost"), 'R' character event, 'R' key up.
60 */ 60 */
61 [assert_size(12)] 61 [assert_size(12)]
62 struct PP_InputEvent_Character { 62 struct PP_InputEvent_Character {
63 /** A combination of the <code>PP_InputEvent_Modifier</code> flags. */ 63 /** A combination of the <code>PP_InputEvent_Modifier</code> flags. */
64 uint32_t modifier; 64 uint32_t modifier;
65 65
66 /** 66 /**
67 * This value represents the typed character as a single null-terminated UTF-8 67 * This value represents the typed character as a single null-terminated UTF-8
68 * character. Any unused bytes will be filled with null bytes. Since the 68 * character. Any unused bytes will be filled with null bytes. Since the
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 float_t wheel_ticks_y; 194 float_t wheel_ticks_y;
195 195
196 /** 196 /**
197 * Indicates if the scroll <code>delta_x</code>/<code>delta_y</code> 197 * Indicates if the scroll <code>delta_x</code>/<code>delta_y</code>
198 * indicates pages or lines to scroll by. When true, the user is requesting 198 * indicates pages or lines to scroll by. When true, the user is requesting
199 * to scroll by pages. 199 * to scroll by pages.
200 */ 200 */
201 PP_Bool scroll_by_page; 201 PP_Bool scroll_by_page;
202 }; 202 };
203 203
OLDNEW
« no previous file with comments | « ppapi/api/pp_file_info.idl ('k') | ppapi/api/pp_resource.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698