| OLD | NEW |
| 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_SIMPLE_PS_EVENT_H_ | 6 #ifndef PPAPI_SIMPLE_PS_EVENT_H_ |
| 7 #define PPAPI_SIMPLE_PS_EVENT_H_ | 7 #define PPAPI_SIMPLE_PS_EVENT_H_ |
| 8 | 8 |
| 9 #include "ppapi/c/pp_bool.h" | 9 #include "ppapi/c/pp_bool.h" |
| 10 #include "ppapi/c/pp_resource.h" | 10 #include "ppapi/c/pp_resource.h" |
| 11 #include "ppapi/c/pp_var.h" | 11 #include "ppapi/c/pp_var.h" |
| 12 | 12 |
| 13 #include "utils/macros.h" | 13 #include "sdk_util/macros.h" |
| 14 | 14 |
| 15 EXTERN_C_BEGIN | 15 EXTERN_C_BEGIN |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * PSEvent | 18 * PSEvent |
| 19 * | 19 * |
| 20 * The PSEvent system provides an in-order event processing mechanism. | 20 * The PSEvent system provides an in-order event processing mechanism. |
| 21 * As Pepper events such as input, or focus and view changes arrive on the | 21 * As Pepper events such as input, or focus and view changes arrive on the |
| 22 * main pepper thread, they are placed on various FIFOs based on event type. | 22 * main pepper thread, they are placed on various FIFOs based on event type. |
| 23 * For any given event type, only a single thread will process those events. | 23 * For any given event type, only a single thread will process those events. |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 */ | 86 */ |
| 87 void PSEventPost(PSEventType type); | 87 void PSEventPost(PSEventType type); |
| 88 void PSEventPostBool(PSEventType type, PP_Bool state); | 88 void PSEventPostBool(PSEventType type, PP_Bool state); |
| 89 void PSEventPostVar(PSEventType type, struct PP_Var var); | 89 void PSEventPostVar(PSEventType type, struct PP_Var var); |
| 90 void PSEventPostResource(PSEventType type, PP_Resource resource); | 90 void PSEventPostResource(PSEventType type, PP_Resource resource); |
| 91 | 91 |
| 92 EXTERN_C_END | 92 EXTERN_C_END |
| 93 | 93 |
| 94 #endif // PPAPI_SIMPLE_PS_EVENT_H_ | 94 #endif // PPAPI_SIMPLE_PS_EVENT_H_ |
| 95 | 95 |
| OLD | NEW |