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

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

Issue 5997003: Change ppapi C++ comment style into C. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/ppapi
Patch Set: First. Created 10 years 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/ppb_core.h ('k') | ppapi/c/ppb_image_data.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) 2010 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2010 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 #ifndef PPAPI_C_PPB_GRAPHICS_2D_H_ 5 #ifndef PPAPI_C_PPB_GRAPHICS_2D_H_
6 #define PPAPI_C_PPB_GRAPHICS_2D_H_ 6 #define PPAPI_C_PPB_GRAPHICS_2D_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_module.h" 9 #include "ppapi/c/pp_module.h"
10 #include "ppapi/c/pp_resource.h" 10 #include "ppapi/c/pp_resource.h"
11 #include "ppapi/c/pp_stdint.h" 11 #include "ppapi/c/pp_stdint.h"
12 12
13 struct PP_CompletionCallback; 13 struct PP_CompletionCallback;
14 struct PP_Point; 14 struct PP_Point;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 * callback will not be executed. 203 * callback will not be executed.
204 * </dd> 204 * </dd>
205 * </dl> 205 * </dl>
206 * 206 *
207 * Returns PP_OK on success, PP_Error_BadResource if the graphics context is 207 * Returns PP_OK on success, PP_Error_BadResource if the graphics context is
208 * invalid, PP_Error_BadArgument if the callback is null and Flush is being 208 * invalid, PP_Error_BadArgument if the callback is null and Flush is being
209 * called from the main thread of the plugin, or PP_Error_InProgress if a 209 * called from the main thread of the plugin, or PP_Error_InProgress if a
210 * Flush is already pending that has not issued its callback yet. In the 210 * Flush is already pending that has not issued its callback yet. In the
211 * failure case, nothing will be updated and no callback will be scheduled. 211 * failure case, nothing will be updated and no callback will be scheduled.
212 */ 212 */
213 // TODO(darin): We should ensure that the completion callback always runs, so 213 /* TODO(darin): We should ensure that the completion callback always runs, so
214 // that it is easier for consumers to manage memory referenced by a callback. 214 * that it is easier for consumers to manage memory referenced by a callback.
215 */
215 int32_t (*Flush)(PP_Resource graphics_2d, 216 int32_t (*Flush)(PP_Resource graphics_2d,
216 struct PP_CompletionCallback callback); 217 struct PP_CompletionCallback callback);
217 218
218 }; 219 };
219 220
220 /** 221 /**
221 * @} 222 * @}
222 * End addtogroup PPB 223 * End addtogroup PPB
223 */ 224 */
224 #endif // PPAPI_C_PPB_GRAPHICS_2D_H_ 225 #endif /* PPAPI_C_PPB_GRAPHICS_2D_H_ */
226
OLDNEW
« no previous file with comments | « ppapi/c/ppb_core.h ('k') | ppapi/c/ppb_image_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698