| OLD | NEW |
| 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 /** | 6 /** |
| 7 * This file defines a function pointer type for the | 7 * This file defines a function pointer type for the |
| 8 * <code>PPB_GetInterface</code> function. | 8 * <code>PPB_GetInterface</code> function. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 /** | 11 /** |
| 12 * This function pointer type defines the signature for the | 12 * This function pointer type defines the signature for the |
| 13 * <code>PPB_GetInterface</code> function. A generic | 13 * <code>PPB_GetInterface</code> function. A generic |
| 14 * <code>PPB_GetInterface</code> pointer is passed to | 14 * <code>PPB_GetInterface</code> pointer is passed to |
| 15 * <code>PPP_InitializedModule</code> when your module is loaded. You can use | 15 * <code>PPP_InitializedModule</code> when your module is loaded. You can use |
| 16 * this pointer to request a pointer to a specific browser interface. Browser | 16 * this pointer to request a pointer to a specific browser interface. Browser |
| 17 * interface names are ASCII strings and are generally defined in the header | 17 * interface names are ASCII strings and are generally defined in the header |
| 18 * file for the interface, such as <code>PPB_AUDIO_INTERFACE</code> found in | 18 * file for the interface, such as <code>PPB_AUDIO_INTERFACE</code> found in |
| 19 * <code>ppb.audio.h</code> or | 19 * <code>ppb.audio.h</code> or |
| 20 * <code>PPB_GRAPHICS_2D_INTERFACE</code> in <code>ppb_graphics_2d.h</code>. | 20 * <code>PPB_GRAPHICS_2D_INTERFACE</code> in <code>ppb_graphics_2d.h</code>. |
| 21 * Click | 21 * Click |
| 22 * <a href="/chrome/nativeclient/docs/reference/pepperc/globals_defs.html" | 22 * <a href="/chrome/nativeclient/docs/reference/pepperc/globals_defs.html" |
| 23 * title="macros">here</a> for a complete list of interface | 23 * title="macros">here</a> for a complete list of interface |
| 24 * names. | 24 * names. |
| 25 * | 25 * |
| 26 * This value will be NULL if the interface is not supported on the browser. | 26 * This value will be NULL if the interface is not supported on the browser. |
| 27 */ | 27 */ |
| 28 typedef interface_t PPB_GetInterface([in] str_t interface_name); | 28 typedef interface_t PPB_GetInterface([in] str_t interface_name); |
| 29 | 29 |
| OLD | NEW |