| Index: ppapi/c/ppp.h
|
| ===================================================================
|
| --- ppapi/c/ppp.h (revision 90953)
|
| +++ ppapi/c/ppp.h (working copy)
|
| @@ -40,17 +40,16 @@
|
| * PPP_InitializeModule() is the entry point for a module and is called by the
|
| * browser when your module loads. Your code must implement this function.
|
| *
|
| - * Failure indicates to the browser that this plugin can not be used. In this
|
| - * case, the plugin will be unloaded and ShutdownModule will NOT be called.
|
| + * Failure indicates to the browser that this module can not be used. In this
|
| + * case, the module will be unloaded and ShutdownModule will NOT be called.
|
| *
|
| * @param[in] module A handle to your module. Generally you should store this
|
| * value since it will be required for other API calls.
|
| - *
|
| * @param[in] get_browser_interface A pointer to the function that you can
|
| * use to query for browser interfaces. Generally you should store this value
|
| * for future use.
|
| *
|
| - * @return PP_OK on success. Any other value on failure.
|
| + * @return <code>PP_OK</code> on success. Any other value on failure.
|
| */
|
| PP_EXPORT int32_t PPP_InitializeModule(PP_Module module,
|
| PPB_GetInterface get_browser_interface);
|
| @@ -67,10 +66,10 @@
|
| * PPP_ShutdownModule() is <strong>sometimes</strong> called before the module
|
| * is unloaded. It is not recommended that you implement this function.
|
| *
|
| - * There is no practical use of this function for third party plugins. Its
|
| + * There is no practical use of this function for third party modules. Its
|
| * existence is because of some internal use cases inside Chrome.
|
| *
|
| - * Since your plugin runs in a separate process, there's no need to free
|
| + * Since your module runs in a separate process, there's no need to free
|
| * allocated memory. There is also no need to free any resources since all of
|
| * resources associated with an instance will be force-freed when that instance
|
| * is deleted. Moreover, this function will not be called when Chrome does
|
| @@ -90,14 +89,14 @@
|
| * PPP_GetInterface() is called by the browser to query the module for
|
| * interfaces it supports.
|
| *
|
| - * Your module must implement the PPP_Instance interface or it will be
|
| - * unloaded. Other interfaces are optional.
|
| + * Your module must implement the <code>PPP_Instance</code> interface or it
|
| + * will be unloaded. Other interfaces are optional.
|
| *
|
| * @param[in] interface_name A pointer to a "PPP" (plugin) interface name.
|
| * Interface names are null-terminated ASCII strings.
|
| *
|
| - * @return A pointer for the interface or NULL if the interface is not
|
| - * supported.
|
| + * @return A pointer for the interface or <code>NULL</code> if the interface is
|
| + * not supported.
|
| */
|
| PP_EXPORT const void* PPP_GetInterface(const char* interface_name);
|
| /**
|
|
|