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

Side by Side Diff: ppapi/c/ppb_core.h

Issue 7448005: Missing changes for IDL (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/c/pp_stdint.h ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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 /* From ppb_core.idl modified Mon Jul 18 12:14:19 2011. */ 6 /* From ppb_core.idl modified Tue Jul 19 13:37:04 2011. */
7 7
8 #ifndef PPAPI_C_PPB_CORE_H_ 8 #ifndef PPAPI_C_PPB_CORE_H_
9 #define PPAPI_C_PPB_CORE_H_ 9 #define PPAPI_C_PPB_CORE_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/pp_macros.h" 13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_resource.h" 14 #include "ppapi/c/pp_resource.h"
15 #include "ppapi/c/pp_stdint.h" 15 #include "ppapi/c/pp_stdint.h"
16 #include "ppapi/c/pp_time.h" 16 #include "ppapi/c/pp_time.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 * GetTimeTicks() returns the "tick time" according to the browser. 61 * GetTimeTicks() returns the "tick time" according to the browser.
62 * This clock is used by the browser when passing some event times to the 62 * This clock is used by the browser when passing some event times to the
63 * module (e.g. using the <code>PP_InputEvent::time_stamp_seconds</code> 63 * module (e.g. using the <code>PP_InputEvent::time_stamp_seconds</code>
64 * field). It is not correlated to any actual wall clock time 64 * field). It is not correlated to any actual wall clock time
65 * (like GetTime()). Because of this, it will not run change if the user 65 * (like GetTime()). Because of this, it will not run change if the user
66 * changes their computer clock. 66 * changes their computer clock.
67 * 67 *
68 * @return A <code>PP_TimeTicks</code> containing the "tick time" according 68 * @return A <code>PP_TimeTicks</code> containing the "tick time" according
69 * to the browser. 69 * to the browser.
70 */ 70 */
71 /* TODO(brettw) http://code.google.com/p/chromium/issues/detail?id=57448
72 * This currently does change with wall clock time, but will be fixed in
73 * a future release. */
74 PP_TimeTicks (*GetTimeTicks)(); 71 PP_TimeTicks (*GetTimeTicks)();
75 /** 72 /**
76 * CallOnMainThread() schedules work to be executed on the main module thread 73 * CallOnMainThread() schedules work to be executed on the main module thread
77 * after the specified delay. The delay may be 0 to specify a call back as 74 * after the specified delay. The delay may be 0 to specify a call back as
78 * soon as possible. 75 * soon as possible.
79 * 76 *
80 * The <code>result</code> parameter will just be passed as the second 77 * The <code>result</code> parameter will just be passed as the second
81 * argument to the callback. Many applications won't need this, but it allows 78 * argument to the callback. Many applications won't need this, but it allows
82 * a module to emulate calls of some callbacks which do use this value. 79 * a module to emulate calls of some callbacks which do use this value.
83 * 80 *
(...skipping 25 matching lines...) Expand all
109 * current thread is the main pepper thread, otherwise <code>PP_FALSE</code>. 106 * current thread is the main pepper thread, otherwise <code>PP_FALSE</code>.
110 */ 107 */
111 PP_Bool (*IsMainThread)(); 108 PP_Bool (*IsMainThread)();
112 }; 109 };
113 /** 110 /**
114 * @} 111 * @}
115 */ 112 */
116 113
117 #endif /* PPAPI_C_PPB_CORE_H_ */ 114 #endif /* PPAPI_C_PPB_CORE_H_ */
118 115
OLDNEW
« no previous file with comments | « ppapi/c/pp_stdint.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698