Chromium Code Reviews| Index: ppapi/shared_impl/ppapi_globals.h |
| diff --git a/ppapi/shared_impl/ppapi_globals.h b/ppapi/shared_impl/ppapi_globals.h |
| index 93ab2998e3476d04b6e0c372adb155c058cc56b8..308096c8e685f36e565a4342f1fa16953b6f1513 100644 |
| --- a/ppapi/shared_impl/ppapi_globals.h |
| +++ b/ppapi/shared_impl/ppapi_globals.h |
| @@ -128,6 +128,12 @@ class PPAPI_SHARED_EXPORT PpapiGlobals { |
| virtual bool IsHostGlobals() const; |
| virtual bool IsPluginGlobals() const; |
| + // Record that plugin is active. Avoids being shutdown in containers that |
|
dmichael (off chromium)
2013/11/15 18:26:22
nits:
"the" plugin
Avoids->Prevents
scheib
2013/12/11 21:35:40
Done.
|
| + // detect idle content. |
|
dmichael (off chromium)
2013/11/15 18:26:22
such as background apps?
scheib
2013/12/11 21:35:40
Done.
|
| + // This method only has an effect on the plugin process, calls from the |
| + // renderer process will have an effect. |
|
dmichael (off chromium)
2013/11/15 18:26:22
an->no ?
scheib
2013/12/11 21:35:40
Done.
|
| + virtual void MarkPluginIsActive(); |
| + |
| private: |
| // Return the thread-local pointer which is used only for unit testing. It |
| // should always be NULL when running in production. It allows separate |