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

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

Issue 7399016: More trivial cleanupi of ppapi/c headers (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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_var.h ('k') | ppapi/c/ppb_audio.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) 2011 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
6 /* From ppb.idl modified Sat Jul 16 16:50:26 2011. */
7
5 #ifndef PPAPI_C_PPB_H_ 8 #ifndef PPAPI_C_PPB_H_
6 #define PPAPI_C_PPB_H_ 9 #define PPAPI_C_PPB_H_
7 10
11 #include "ppapi/c/pp_macros.h"
12 #include "ppapi/c/pp_stdint.h"
13
8 /** 14 /**
9 * @file 15 * @file
10 * This file defines a function pointer type for the 16 * This file defines a function pointer type for the
11 * <code>PPB_GetInterface</code> function. 17 * <code>PPB_GetInterface</code> function.
12 */ 18 */
13 19
20
14 /** 21 /**
15 * @addtogroup Typedefs 22 * @addtogroup Typedefs
16 * @{ 23 * @{
17 */ 24 */
18
19 /** 25 /**
20 * This function pointer type defines the signature for the 26 * This function pointer type defines the signature for the
21 * <code>PPB_GetInterface</code> function. A generic 27 * <code>PPB_GetInterface</code> function. A generic
22 * <code>PPB_GetInterface</code> pointer is passed to 28 * <code>PPB_GetInterface</code> pointer is passed to
23 * <code>PPP_InitializedModule</code> when your module is loaded. You can use 29 * <code>PPP_InitializedModule</code> when your module is loaded. You can use
24 * this pointer to request a pointer to a specific browser interface. Browser 30 * this pointer to request a pointer to a specific browser interface. Browser
25 * interface names are ASCII strings and are generally defined in the header 31 * interface names are ASCII strings and are generally defined in the header
26 * file for the interface, such as <code>PPB_AUDIO_INTERFACE</code> found in 32 * file for the interface, such as <code>PPB_AUDIO_INTERFACE</code> found in
27 * <code>ppb.audio.h</code> or 33 * <code>ppb.audio.h</code> or
28 * <code>PPB_GRAPHICS_2D_INTERFACE</code> in <code>ppb_graphics_2d.h</code>. 34 * <code>PPB_GRAPHICS_2D_INTERFACE</code> in <code>ppb_graphics_2d.h</code>.
29 * Click 35 * Click
30 * <a href="/chrome/nativeclient/docs/reference/pepperc/ 36 * <a href="/chrome/nativeclient/docs/reference/pepperc/
31 * globals_defs.html" title="macros">here</a> for a complete list of interface 37 * globals_defs.html" title="macros">here</a> for a complete list of interface
32 * names. 38 * names.
33 * 39 *
34 * This value will be NULL if the interface is not supported on the browser. 40 * This value will be NULL if the interface is not supported on the browser.
35 */ 41 */
36 typedef const void* (*PPB_GetInterface)(const char* interface_name); 42 typedef const void* (*PPB_GetInterface)(const char* interface_name);
37 /** 43 /**
38 * @} 44 * @}
39 */ 45 */
46
40 #endif /* PPAPI_C_PPB_H_ */ 47 #endif /* PPAPI_C_PPB_H_ */
41 48
OLDNEW
« no previous file with comments | « ppapi/c/pp_var.h ('k') | ppapi/c/ppb_audio.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698