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

Unified Diff: ppapi/api/private/ppb_testing_private.idl

Issue 1114623002: Plugin Power Saver: Make PPS work well with prerendered pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/api/private/ppb_testing_private.idl
diff --git a/ppapi/api/private/ppb_testing_private.idl b/ppapi/api/private/ppb_testing_private.idl
index 8de73f73f34f091b2ab6fc18e4ef5cf107eb9946..bcd192d71821ae20afbe9da31226c1af21eb5642 100644
--- a/ppapi/api/private/ppb_testing_private.idl
+++ b/ppapi/api/private/ppb_testing_private.idl
@@ -77,13 +77,18 @@ interface PPB_Testing_Private {
* otherwise.
*/
PP_Bool IsOutOfProcess();
-
+
/**
* Returns PP_TRUE if the plugin is peripheral, PP_FALSE otherwise.
*/
PP_Bool IsPeripheral([in] PP_Instance instance);
/**
+ * Returns PP_TRUE if the plugin is throttled, PP_FALSE otherwise.
+ */
+ PP_Bool IsThrottled([in] PP_Instance instance);
tommycli 2015/04/28 18:43:16 I was tempted to combine this with the IsPeriphera
raymes 2015/04/29 00:12:35 Either way but perhaps add comments to both that t
tommycli 2015/04/29 20:25:47 Done.
+
+ /**
* Passes the input event to the browser, which sends it back to the
* plugin. The plugin should implement PPP_InputEvent and register for
* the input event type.

Powered by Google App Engine
This is Rietveld 408576698