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

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: 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..863d30c91f9c600eb6de9650b7bd9fa747a1cbb3 100644
--- a/ppapi/api/private/ppb_testing_private.idl
+++ b/ppapi/api/private/ppb_testing_private.idl
@@ -77,13 +77,20 @@ interface PPB_Testing_Private {
* otherwise.
*/
PP_Bool IsOutOfProcess();
-
+
/**
- * Returns PP_TRUE if the plugin is peripheral, PP_FALSE otherwise.
+ * Returns PP_TRUE if the plugin is peripheral, PP_FALSE otherwise. Used to
+ * test the Plugin Power Saver feature.
*/
PP_Bool IsPeripheral([in] PP_Instance instance);
/**
+ * Returns PP_TRUE if the plugin is throttled, PP_FALSE otherwise. Used to
+ * test the Plugin Power Saver feature.
+ */
+ PP_Bool IsThrottled([in] PP_Instance instance);
+
+ /**
* 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