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

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

Issue 9190069: Fixed capitalization of error codes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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/api/ppb_file_io.idl ('k') | ppapi/c/ppb_file_io.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 /** 6 /**
7 * Defines the <code>PPB_Graphics2D</code> struct representing a 2D graphics 7 * Defines the <code>PPB_Graphics2D</code> struct representing a 2D graphics
8 * context within the browser. 8 * context within the browser.
9 */ 9 */
10 10
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 * 233 *
234 * @return Returns <code>PP_OK</code> on success or 234 * @return Returns <code>PP_OK</code> on success or
235 * <code>PP_ERROR_BADRESOURCE</code> if the graphics context is invalid, 235 * <code>PP_ERROR_BADRESOURCE</code> if the graphics context is invalid,
236 * <code>PP_ERROR_BADARGUMENT</code> if the callback is null and flush is 236 * <code>PP_ERROR_BADARGUMENT</code> if the callback is null and flush is
237 * being called from the main thread of the module, or 237 * being called from the main thread of the module, or
238 * <code>PP_ERROR_INPROGRESS</code> if a flush is already pending that has 238 * <code>PP_ERROR_INPROGRESS</code> if a flush is already pending that has
239 * not issued its callback yet. In the failure case, nothing will be updated 239 * not issued its callback yet. In the failure case, nothing will be updated
240 * and no callback will be scheduled. 240 * and no callback will be scheduled.
241 */ 241 */
242 242
243 /* 243 /* TODO(darin): We should ensure that the completion callback always runs, so
244 * TODO(darin): We should ensure that the completion callback always runs, so
245 * that it is easier for consumers to manage memory referenced by a callback. 244 * that it is easier for consumers to manage memory referenced by a callback.
246 */ 245 */
247 246
248 /* 247 /* TODO(): Add back in the synchronous mode description once we have support
249 * TODO(): Add back in the synchronous mode description once we have support
250 * for it. 248 * for it.
251 */ 249 */
252 int32_t Flush( 250 int32_t Flush(
253 [in] PP_Resource graphics_2d, 251 [in] PP_Resource graphics_2d,
254 [in] PP_CompletionCallback callback); 252 [in] PP_CompletionCallback callback);
255 }; 253 };
256 254
OLDNEW
« no previous file with comments | « ppapi/api/ppb_file_io.idl ('k') | ppapi/c/ppb_file_io.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698