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

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

Issue 13220002: [PPAPI] Fix a bunch of spelling mistakes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/dev/ppp_text_input_dev.h ('k') | ppapi/c/pp_errors.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 pp_array_output.idl modified Tue Mar 6 21:52:16 2012. */ 6 /* From pp_array_output.idl modified Thu Mar 28 11:07:53 2013. */
7 7
8 #ifndef PPAPI_C_PP_ARRAY_OUTPUT_H_ 8 #ifndef PPAPI_C_PP_ARRAY_OUTPUT_H_
9 #define PPAPI_C_PP_ARRAY_OUTPUT_H_ 9 #define PPAPI_C_PP_ARRAY_OUTPUT_H_
10 10
11 #include "ppapi/c/pp_macros.h" 11 #include "ppapi/c/pp_macros.h"
12 #include "ppapi/c/pp_stdint.h" 12 #include "ppapi/c/pp_stdint.h"
13 13
14 /** 14 /**
15 * @file 15 * @file
16 * PP_ArrayOutput_GetDataBuffer is a callback function to allocate plugin 16 * PP_ArrayOutput_GetDataBuffer is a callback function to allocate plugin
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 * @} 58 * @}
59 */ 59 */
60 60
61 /** 61 /**
62 * @addtogroup Structs 62 * @addtogroup Structs
63 * @{ 63 * @{
64 */ 64 */
65 /** 65 /**
66 * A structure that defines a way for the browser to return arrays of data 66 * A structure that defines a way for the browser to return arrays of data
67 * to the plugin. The browser can not allocate memory on behalf of the plugin 67 * to the plugin. The browser can not allocate memory on behalf of the plugin
68 * becaues the plugin and browser may have different allocators. 68 * because the plugin and browser may have different allocators.
69 * 69 *
70 * Array output works by having the browser call to the plugin to allocate a 70 * Array output works by having the browser call to the plugin to allocate a
71 * buffer, and then the browser will copy the contents of the array into that 71 * buffer, and then the browser will copy the contents of the array into that
72 * buffer. 72 * buffer.
73 * 73 *
74 * In C, you would typically implement this as follows: 74 * In C, you would typically implement this as follows:
75 * 75 *
76 * @code 76 * @code
77 * struct MyArrayOutput { 77 * struct MyArrayOutput {
78 * void* data; 78 * void* data;
(...skipping 28 matching lines...) Expand all
107 * to communicate how the data should be stored. 107 * to communicate how the data should be stored.
108 */ 108 */
109 void* user_data; 109 void* user_data;
110 }; 110 };
111 /** 111 /**
112 * @} 112 * @}
113 */ 113 */
114 114
115 #endif /* PPAPI_C_PP_ARRAY_OUTPUT_H_ */ 115 #endif /* PPAPI_C_PP_ARRAY_OUTPUT_H_ */
116 116
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppp_text_input_dev.h ('k') | ppapi/c/pp_errors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698