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

Side by Side Diff: ppapi/c/pp_resource.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/pp_input_event.h ('k') | ppapi/c/pp_touch_point.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) 2011 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_resource.idl modified Sat Jul 16 16:50:26 2011. */ 6 /* From pp_resource.idl modified Thu Mar 28 10:09:51 2013. */
7 7
8 #ifndef PPAPI_C_PP_RESOURCE_H_ 8 #ifndef PPAPI_C_PP_RESOURCE_H_
9 #define PPAPI_C_PP_RESOURCE_H_ 9 #define PPAPI_C_PP_RESOURCE_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 * This file defines the <code>PP_Resource</code> type which represents data 16 * This file defines the <code>PP_Resource</code> type which represents data
17 * associated with the module. 17 * associated with the module.
18 */ 18 */
19 19
20 20
21 /** 21 /**
22 * @addtogroup Typedefs 22 * @addtogroup Typedefs
23 * @{ 23 * @{
24 */ 24 */
25 /** 25 /**
26 * This typdef represents an opaque handle assigned by the browser to the 26 * This typedef represents an opaque handle assigned by the browser to the
27 * resource. The handle is guaranteed never to be 0 for a valid resource, so a 27 * resource. The handle is guaranteed never to be 0 for a valid resource, so a
28 * module can initialize it to 0 to indicate a "NULL handle." Some interfaces 28 * module can initialize it to 0 to indicate a "NULL handle." Some interfaces
29 * may return a NULL resource to indicate failure. 29 * may return a NULL resource to indicate failure.
30 * 30 *
31 * While a Var represents something callable to JS or from the module to 31 * While a Var represents something callable to JS or from the module to
32 * the DOM, a resource has no meaning or visibility outside of the module 32 * the DOM, a resource has no meaning or visibility outside of the module
33 * interface. 33 * interface.
34 * 34 *
35 * Resources are reference counted. Use <code>AddRefResource()</code> 35 * Resources are reference counted. Use <code>AddRefResource()</code>
36 * and <code>ReleaseResource()</code> in <code>ppb_core.h</code> to manage the 36 * and <code>ReleaseResource()</code> in <code>ppb_core.h</code> to manage the
37 * reference count of a resource. The data will be automatically destroyed when 37 * reference count of a resource. The data will be automatically destroyed when
38 * the internal reference count reaches 0. 38 * the internal reference count reaches 0.
39 */ 39 */
40 typedef int32_t PP_Resource; 40 typedef int32_t PP_Resource;
41 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Resource, 4); 41 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Resource, 4);
42 /** 42 /**
43 * @} 43 * @}
44 */ 44 */
45 45
46 #endif /* PPAPI_C_PP_RESOURCE_H_ */ 46 #endif /* PPAPI_C_PP_RESOURCE_H_ */
47 47
OLDNEW
« no previous file with comments | « ppapi/c/pp_input_event.h ('k') | ppapi/c/pp_touch_point.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698