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

Side by Side Diff: ppapi/api/ppb_message_loop.idl

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
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 /** 6 /**
7 * Defines the PPB_MessageLoop interface. 7 * Defines the PPB_MessageLoop interface.
8 */ 8 */
9 label Chrome { 9 label Chrome {
10 M25 = 1.0 10 M25 = 1.0
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 */ 175 */
176 int32_t AttachToCurrentThread([in] PP_Resource message_loop); 176 int32_t AttachToCurrentThread([in] PP_Resource message_loop);
177 177
178 /** 178 /**
179 * Runs the thread message loop. Running the message loop is required for you 179 * Runs the thread message loop. Running the message loop is required for you
180 * to get issued completion callbacks on the thread. 180 * to get issued completion callbacks on the thread.
181 * 181 *
182 * The message loop identified by the argument must have been previously 182 * The message loop identified by the argument must have been previously
183 * successfully attached to the current thread. 183 * successfully attached to the current thread.
184 * 184 *
185 * You may not run nested message loops. Since the main thread has an 185 * You may not run nested run loops. Since the main thread has an
186 * implicit message loop that the system runs, you may not call Run on the 186 * implicit message loop that the system runs, you may not call Run on the
187 * main thread. 187 * main thread.
188 * 188 *
189 * @return 189 * @return
190 * - PP_OK: The message loop was successfully run. Note that on 190 * - PP_OK: The message loop was successfully run. Note that on
191 * success, the message loop will only exit when you call PostQuit(). 191 * success, the message loop will only exit when you call PostQuit().
192 * - PP_ERROR_BADRESOURCE: The given message loop resource is invalid. 192 * - PP_ERROR_BADRESOURCE: The given message loop resource is invalid.
193 * - PP_ERROR_WRONG_THREAD: You are attempting to run a message loop that 193 * - PP_ERROR_WRONG_THREAD: You are attempting to run a message loop that
194 * has not been successfully attached to the current thread. Call 194 * has not been successfully attached to the current thread. Call
195 * AttachToCurrentThread(). 195 * AttachToCurrentThread().
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 * 262 *
263 * @return 263 * @return
264 * - PP_OK: The request to quit was successfully posted. 264 * - PP_OK: The request to quit was successfully posted.
265 * - PP_ERROR_BADRESOURCE: The message loop was invalid. 265 * - PP_ERROR_BADRESOURCE: The message loop was invalid.
266 * - PP_ERROR_WRONG_THREAD: You are attempting to quit the main thread. 266 * - PP_ERROR_WRONG_THREAD: You are attempting to quit the main thread.
267 * The main thread's message loop is managed by the system and can't be 267 * The main thread's message loop is managed by the system and can't be
268 * quit. 268 * quit.
269 */ 269 */
270 int32_t PostQuit([in] PP_Resource message_loop, PP_Bool should_destroy); 270 int32_t PostQuit([in] PP_Resource message_loop, PP_Bool should_destroy);
271 }; 271 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698