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..c2aed41761501d404e9e23129555eef18d37fdad 100644 |
--- a/ppapi/api/private/ppb_testing_private.idl |
+++ b/ppapi/api/private/ppb_testing_private.idl |
@@ -77,11 +77,20 @@ interface PPB_Testing_Private { |
* otherwise. |
*/ |
PP_Bool IsOutOfProcess(); |
- |
+ |
+ /** |
+ * Posts the plugin's current Power Saver status to JavaScript. The plugin |
+ * itself does not recieve anything. This is not idiomatic for Pepper, |
+ * but convenient for testing. |
+ */ |
+ void PostPowerSaverStatus([in] PP_Instance instance); |
+ |
/** |
- * Returns PP_TRUE if the plugin is peripheral, PP_FALSE otherwise. |
+ * Subscribes to changes to the plugin's Power Saver status. The status |
+ * changes are not forwarded to the plugin itself, but posted to JavaScript. |
+ * This is not idiomatic for Pepper, but conveienent for testing. |
*/ |
- PP_Bool IsPeripheral([in] PP_Instance instance); |
+ void SubscribeToPowerSaverNotifications([in] PP_Instance instance); |
/** |
* Passes the input event to the browser, which sends it back to the |