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

Side by Side Diff: native_client_sdk/src/libraries/ppapi_main/ppapi_event.h

Issue 13106002: [NaCl SDK] A bunch of spelling fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix presubmit 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef PPAPI_MAIN_PPAPI_EVENT_H_ 6 #ifndef PPAPI_MAIN_PPAPI_EVENT_H_
7 #define PPAPI_MAIN_PPAPI_EVENT_H_ 7 #define PPAPI_MAIN_PPAPI_EVENT_H_
8 8
9 #include "ppapi/c/pp_input_event.h" 9 #include "ppapi/c/pp_input_event.h"
10 #include "ppapi/c/pp_point.h" 10 #include "ppapi/c/pp_point.h"
11 #include "ppapi/c/pp_touch_point.h" 11 #include "ppapi/c/pp_touch_point.h"
12 #include "ppapi/c/ppb_input_event.h" 12 #include "ppapi/c/ppb_input_event.h"
13 13
14 #include "utils/macros.h" 14 #include "utils/macros.h"
15 15
16 EXTERN_C_BEGIN 16 EXTERN_C_BEGIN
17 17
18 /* 18 /*
19 * Event Structures 19 * Event Structures
20 * 20 *
21 * The following event structures are based on the equivilent structs 21 * The following event structures are based on the equivalent structs
22 * defined in ppapi/c/ppb_input_event.h. 22 * defined in ppapi/c/ppb_input_event.h.
23 * 23 *
24 */ 24 */
25 25
26 // Generic Event 26 // Generic Event
27 typedef struct { 27 typedef struct {
28 PP_InputEvent_Type event_type; 28 PP_InputEvent_Type event_type;
29 PP_TimeTicks time_ticks; 29 PP_TimeTicks time_ticks;
30 uint32_t modifiers; 30 uint32_t modifiers;
31 } PPAPIEvent; 31 } PPAPIEvent;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 #define MAX_TOUCH_POINTS 4 71 #define MAX_TOUCH_POINTS 4
72 typedef struct { 72 typedef struct {
73 PPAPIEvent event; 73 PPAPIEvent event;
74 74
75 uint32_t point_count; 75 uint32_t point_count;
76 struct PP_TouchPoint points[MAX_TOUCH_POINTS]; 76 struct PP_TouchPoint points[MAX_TOUCH_POINTS];
77 } PPAPITouchEvent; 77 } PPAPITouchEvent;
78 78
79 EXTERN_C_END 79 EXTERN_C_END
80 80
81 #endif // PPAPI_MAIN_PPAPI_EVENT_H_ 81 #endif // PPAPI_MAIN_PPAPI_EVENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698