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

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 type for storing a pointer to an interface supported
11 * 11 * by the browser.
dmichael(do not use this one) 2011/02/08 17:04:38 Not sure about this wording... maybe instead say
jond 2011/02/09 16:42:04 Done.
jond 2011/02/09 16:42:04 Done.
12 */ 12 */
13 13
14 /** 14 /**
15 * @addtogroup Typedefs 15 * @addtogroup Typedefs
16 * @{ 16 * @{
17 */ 17 */
18 18
19 /** 19 /**
20 * Returns an interface pointer for the interface of the given name, or NULL 20 * This value contains a pointer to an interface supported by the browser
dmichael(do not use this one) 2011/02/08 21:51:17 This is defining a function type, not a value. It
jond 2011/02/09 16:42:04 I think I got it. You'll have to check. On 2011/02
21 * if the interface is not supported. Interface names should be ASCII. 21 * (given the interface name). Browser interface names should be ASCII
dmichael(do not use this one) 2011/02/08 21:51:17 "should be ASCII" is worded for PPAPI developers w
jond 2011/02/09 16:42:04 Done.
jond 2011/02/09 16:42:04 Done.
22 * and are generally defined in the header file for the interface, such
23 * as PP_AUDIO_INTERFACE found in ppb.audio.h or PPB_GRAPHICS_2D_INTERFACE in
24 * ppb_graphics_2d.h.
25 *
26 * A generic PPB_GetInterface pointer is passed to PPP_InitializedModule when
27 * your module is loaded. You can use this pointer to request a pointer to a
28 * specific browser interface.
29 * This value will be NULL if the interface is not supported on the browser.
22 */ 30 */
23 typedef const void* (*PPB_GetInterface)(const char* interface_name); 31 typedef const void* (*PPB_GetInterface)(const char* interface_name);
24 /** 32 /**
25 * @} 33 * @}
26 */ 34 */
27 #endif /* PPAPI_C_PPB_H_ */ 35 #endif /* PPAPI_C_PPB_H_ */
28 36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698