OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_C_PP_INPUT_EVENT_H_ | 5 #ifndef PPAPI_C_PP_INPUT_EVENT_H_ |
6 #define PPAPI_C_PP_INPUT_EVENT_H_ | 6 #define PPAPI_C_PP_INPUT_EVENT_H_ |
7 | 7 |
8 /** | 8 /** |
9 * @file | 9 * @file |
10 * Defines the API ... | 10 * Defines the API ... |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 struct PP_InputEvent_Mouse mouse; | 172 struct PP_InputEvent_Mouse mouse; |
173 struct PP_InputEvent_Wheel wheel; | 173 struct PP_InputEvent_Wheel wheel; |
174 | 174 |
175 /** | 175 /** |
176 * Allows new events to be added without changing the size of this | 176 * Allows new events to be added without changing the size of this |
177 * struct. | 177 * struct. |
178 */ | 178 */ |
179 char padding[64]; | 179 char padding[64]; |
180 } u; | 180 } u; |
181 }; | 181 }; |
182 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_InputEvent, 80); | |
183 | 182 |
184 /** | 183 /** |
185 * @} | 184 * @} |
186 * End of addtogroup PP | 185 * End of addtogroup PP |
187 */ | 186 */ |
188 | 187 |
189 #endif // PPAPI_C_PP_INPUT_EVENT_H_ | 188 #endif // PPAPI_C_PP_INPUT_EVENT_H_ |
OLD | NEW |