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

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

Issue 2828913003: Replace "nested message loop" with "nested run loop" in comments. (Closed)
Patch Set: rebase Created 3 years, 7 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
« no previous file with comments | « ppapi/api/private/ppb_testing_private.idl ('k') | ppapi/c/private/ppb_flash_message_loop.h » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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_message_loop.idl modified Thu May 9 14:59:57 2013. */ 6 /* From ppb_message_loop.idl modified Thu May 9 14:59:57 2013. */
7 7
8 #ifndef PPAPI_C_PPB_MESSAGE_LOOP_H_ 8 #ifndef PPAPI_C_PPB_MESSAGE_LOOP_H_
9 #define PPAPI_C_PPB_MESSAGE_LOOP_H_ 9 #define PPAPI_C_PPB_MESSAGE_LOOP_H_
10 10
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 * special threads, which include realtime audio threads. 189 * special threads, which include realtime audio threads.
190 */ 190 */
191 int32_t (*AttachToCurrentThread)(PP_Resource message_loop); 191 int32_t (*AttachToCurrentThread)(PP_Resource message_loop);
192 /** 192 /**
193 * Runs the thread message loop. Running the message loop is required for you 193 * Runs the thread message loop. Running the message loop is required for you
194 * to get issued completion callbacks on the thread. 194 * to get issued completion callbacks on the thread.
195 * 195 *
196 * The message loop identified by the argument must have been previously 196 * The message loop identified by the argument must have been previously
197 * successfully attached to the current thread. 197 * successfully attached to the current thread.
198 * 198 *
199 * You may not run nested message loops. Since the main thread has an 199 * You may not run nested run loops. Since the main thread has an
200 * implicit message loop that the system runs, you may not call Run on the 200 * implicit message loop that the system runs, you may not call Run on the
201 * main thread. 201 * main thread.
202 * 202 *
203 * @return 203 * @return
204 * - PP_OK: The message loop was successfully run. Note that on 204 * - PP_OK: The message loop was successfully run. Note that on
205 * success, the message loop will only exit when you call PostQuit(). 205 * success, the message loop will only exit when you call PostQuit().
206 * - PP_ERROR_BADRESOURCE: The given message loop resource is invalid. 206 * - PP_ERROR_BADRESOURCE: The given message loop resource is invalid.
207 * - PP_ERROR_WRONG_THREAD: You are attempting to run a message loop that 207 * - PP_ERROR_WRONG_THREAD: You are attempting to run a message loop that
208 * has not been successfully attached to the current thread. Call 208 * has not been successfully attached to the current thread. Call
209 * AttachToCurrentThread(). 209 * AttachToCurrentThread().
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 int32_t (*PostQuit)(PP_Resource message_loop, PP_Bool should_destroy); 282 int32_t (*PostQuit)(PP_Resource message_loop, PP_Bool should_destroy);
283 }; 283 };
284 284
285 typedef struct PPB_MessageLoop_1_0 PPB_MessageLoop; 285 typedef struct PPB_MessageLoop_1_0 PPB_MessageLoop;
286 /** 286 /**
287 * @} 287 * @}
288 */ 288 */
289 289
290 #endif /* PPAPI_C_PPB_MESSAGE_LOOP_H_ */ 290 #endif /* PPAPI_C_PPB_MESSAGE_LOOP_H_ */
291 291
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_testing_private.idl ('k') | ppapi/c/private/ppb_flash_message_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698