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

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

Issue 7576026: PPAPI: header comments on when PPP_Instance::DidDestroy and PPP_ShutdownModule (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« no previous file with comments | « ppapi/api/ppp_instance.idl ('k') | ppapi/c/ppp_instance.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 /* From ppp.idl modified Thu Jul 21 16:38:20 2011. */ 6 /* From ppp.idl modified Mon Aug 8 06:47:44 2011. */
7 7
8 #ifndef PPAPI_C_PPP_H_ 8 #ifndef PPAPI_C_PPP_H_
9 #define PPAPI_C_PPP_H_ 9 #define PPAPI_C_PPP_H_
10 10
11 #include "ppapi/c/pp_macros.h" 11 #include "ppapi/c/pp_macros.h"
12 12
13 /** 13 /**
14 * @file 14 * @file
15 * This file defines three functions that your module must 15 * This file defines three functions that your module must
16 * implement to interact with the browser. 16 * implement to interact with the browser.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 /** 71 /**
72 * PPP_ShutdownModule() is <strong>sometimes</strong> called before the module 72 * PPP_ShutdownModule() is <strong>sometimes</strong> called before the module
73 * is unloaded. It is not recommended that you implement this function. 73 * is unloaded. It is not recommended that you implement this function.
74 * 74 *
75 * There is no practical use of this function for third party modules. Its 75 * There is no practical use of this function for third party modules. Its
76 * existence is because of some internal use cases inside Chrome. 76 * existence is because of some internal use cases inside Chrome.
77 * 77 *
78 * Since your module runs in a separate process, there's no need to free 78 * Since your module runs in a separate process, there's no need to free
79 * allocated memory. There is also no need to free any resources since all of 79 * allocated memory. There is also no need to free any resources since all of
80 * resources associated with an instance will be force-freed when that instance 80 * resources associated with an instance will be force-freed when that instance
81 * is deleted. Moreover, this function will not be called when Chrome does 81 * is deleted.
82 * "fast shutdown" of a web page. 82 *
83 * <strong>Note:</strong> This function will always be skipped on untrusted
84 * (Native Client) implementations. This function may be skipped on trusted
85 * implementations in certain circumstances when Chrome does "fast shutdown"
86 * of a web page.
83 */ 87 */
84 PP_EXPORT void PPP_ShutdownModule(); 88 PP_EXPORT void PPP_ShutdownModule();
85 /** 89 /**
86 * @} 90 * @}
87 */ 91 */
88 92
89 /** 93 /**
90 * @addtogroup Functions 94 * @addtogroup Functions
91 * @{ 95 * @{
92 */ 96 */
(...skipping 25 matching lines...) Expand all
118 /** 122 /**
119 * @} 123 * @}
120 */ 124 */
121 125
122 #ifdef __cplusplus 126 #ifdef __cplusplus
123 } /* extern "C" */ 127 } /* extern "C" */
124 #endif 128 #endif
125 129
126 #endif /* PPAPI_C_PPP_H_ */ 130 #endif /* PPAPI_C_PPP_H_ */
127 131
OLDNEW
« no previous file with comments | « ppapi/api/ppp_instance.idl ('k') | ppapi/c/ppp_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698