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

Side by Side Diff: native_client_sdk/src/libraries/ppapi_simple/ps_event.h

Issue 16325024: Move thread_pool.h into utils so it can be shared by more than one example. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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
Property Changes:
Added: svn:eol-style
+ LF
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_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
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
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/ppapi_simple/ps.h ('k') | native_client_sdk/src/libraries/ppapi_simple/ps_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698