| OLD | NEW |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 three functions that your module must | 7 * This file defines three functions that your module must |
| 8 * implement to interact with the browser. | 8 * implement to interact with the browser. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 /** | 63 /** |
| 64 * PPP_ShutdownModule() is <strong>sometimes</strong> called before the module | 64 * PPP_ShutdownModule() is <strong>sometimes</strong> called before the module |
| 65 * is unloaded. It is not recommended that you implement this function. | 65 * is unloaded. It is not recommended that you implement this function. |
| 66 * | 66 * |
| 67 * There is no practical use of this function for third party modules. Its | 67 * There is no practical use of this function for third party modules. Its |
| 68 * existence is because of some internal use cases inside Chrome. | 68 * existence is because of some internal use cases inside Chrome. |
| 69 * | 69 * |
| 70 * Since your module runs in a separate process, there's no need to free | 70 * Since your module runs in a separate process, there's no need to free |
| 71 * allocated memory. There is also no need to free any resources since all of | 71 * allocated memory. There is also no need to free any resources since all of |
| 72 * resources associated with an instance will be force-freed when that instance | 72 * resources associated with an instance will be force-freed when that instance |
| 73 * is deleted. Moreover, this function will not be called when Chrome does | 73 * is deleted. |
| 74 * "fast shutdown" of a web page. | 74 * |
| 75 * <strong>Note:</strong> This function will always be skipped on untrusted |
| 76 * (Native Client) implementations. This function may be skipped on trusted |
| 77 * implementations in certain circumstances when Chrome does "fast shutdown" |
| 78 * of a web page. |
| 75 */ | 79 */ |
| 76 PP_EXPORT void PPP_ShutdownModule(); | 80 PP_EXPORT void PPP_ShutdownModule(); |
| 77 /** | 81 /** |
| 78 * @} | 82 * @} |
| 79 */ | 83 */ |
| 80 | 84 |
| 81 /** | 85 /** |
| 82 * @addtogroup Functions | 86 * @addtogroup Functions |
| 83 * @{ | 87 * @{ |
| 84 */ | 88 */ |
| (...skipping 25 matching lines...) Expand all Loading... |
| 110 /** | 114 /** |
| 111 * @} | 115 * @} |
| 112 */ | 116 */ |
| 113 | 117 |
| 114 #ifdef __cplusplus | 118 #ifdef __cplusplus |
| 115 } /* extern "C" */ | 119 } /* extern "C" */ |
| 116 #endif | 120 #endif |
| 117 | 121 |
| 118 #endinl | 122 #endinl |
| 119 | 123 |
| OLD | NEW |