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

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

Issue 6246117: Cleaning up and adding new docs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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
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 * Defines the API ... 10 * This file defines a function pointer type for the PPB_GetInterface function.
11 *
12 */ 11 */
13 12
14 /** 13 /**
15 * @addtogroup Typedefs 14 * @addtogroup Typedefs
16 * @{ 15 * @{
17 */ 16 */
18 17
19 /** 18 /**
20 * Returns an interface pointer for the interface of the given name, or NULL 19 * This function pointer type defines the signature for the PPB_GetInterface
21 * if the interface is not supported. Interface names should be ASCII. 20 * function. A generic PPB_GetInterface pointer is passed to
dmichael(do not use this one) 2011/02/11 16:42:04 nit: 2 spaces after a period.
21 * PPP_InitializedModule when your module is loaded. You can use this pointer
dmichael(do not use this one) 2011/02/11 16:42:04 nit: 2 spaces after a period.
22 * to request a pointer to a specific browser interface. Browser interface
dmichael(do not use this one) 2011/02/11 16:42:04 nit: 2 spaces after period
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
dmichael(do not use this one) 2011/02/11 16:42:04 ppb.audio.h -> ppb_audio.h
25 * PPB_GRAPHICS_2D_INTERFACE in ppb_graphics_2d.h.
26 *
27 * This value will be NULL if the interface is not supported on the browser.
22 */ 28 */
23 typedef const void* (*PPB_GetInterface)(const char* interface_name); 29 typedef const void* (*PPB_GetInterface)(const char* interface_name);
24 /** 30 /**
25 * @} 31 * @}
26 */ 32 */
27 #endif /* PPAPI_C_PPB_H_ */ 33 #endif /* PPAPI_C_PPB_H_ */
28 34
OLDNEW
« no previous file with comments | « ppapi/c/pp_stdint.h ('k') | ppapi/c/ppb_instance.h » ('j') | ppapi/c/ppp_instance.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698