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

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

Issue 6603029: Added link to ppb.h to point to list of valid interface names. Wrote/rewrote ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | « no previous file | 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_H_ 5 #ifndef PPAPI_C_PPB_H_
6 #define PPAPI_C_PPB_H_ 6 #define PPAPI_C_PPB_H_
7 7
8 /** 8 /**
9 * @file 9 * @file
10 * This file defines a function pointer type for the PPB_GetInterface function. 10 * This file defines a function pointer type for the PPB_GetInterface function.
11 */ 11 */
12 12
13 /** 13 /**
14 * @addtogroup Typedefs 14 * @addtogroup Typedefs
15 * @{ 15 * @{
16 */ 16 */
17 17
18 /** 18 /**
19 * This function pointer type defines the signature for the PPB_GetInterface 19 * This function pointer type defines the signature for the PPB_GetInterface
20 * function. A generic PPB_GetInterface pointer is passed to 20 * function. A generic PPB_GetInterface pointer is passed to
21 * PPP_InitializedModule when your module is loaded. You can use this pointer 21 * PPP_InitializedModule when your module is loaded. You can use this pointer
22 * to request a pointer to a specific browser interface. Browser interface 22 * to request a pointer to a specific browser interface. Browser interface
23 * names are ASCII strings and are generally defined in the header file for the 23 * names are ASCII strings and are generally defined in the header file for the
24 * interface, such as PP_AUDIO_INTERFACE found in ppb.audio.h or 24 * interface, such as PP_AUDIO_INTERFACE found in ppb.audio.h or
25 * PPB_GRAPHICS_2D_INTERFACE in ppb_graphics_2d.h. 25 * PPB_GRAPHICS_2D_INTERFACE in ppb_graphics_2d.h. Click
26 * <a href="http://code.google.com/chrome/nativeclient/docs/reference/pepperc/
27 *globals_defs.html" title="macros">here</a> for a complete list of interface
28 * names.
26 * 29 *
27 * This value will be NULL if the interface is not supported on the browser. 30 * This value will be NULL if the interface is not supported on the browser.
28 */ 31 */
29 typedef const void* (*PPB_GetInterface)(const char* interface_name); 32 typedef const void* (*PPB_GetInterface)(const char* interface_name);
30 /** 33 /**
31 * @} 34 * @}
32 */ 35 */
33 #endif /* PPAPI_C_PPB_H_ */ 36 #endif /* PPAPI_C_PPB_H_ */
34 37
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/ppb_image_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698