| 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..edeea21a5c040ffc87b1afd07ad48fedab37a7bb 100644
|
| --- a/ppapi/api/private/ppb_testing_private.idl
|
| +++ b/ppapi/api/private/ppb_testing_private.idl
|
| @@ -77,11 +77,18 @@ interface PPB_Testing_Private {
|
| * otherwise.
|
| */
|
| PP_Bool IsOutOfProcess();
|
| -
|
| +
|
| + /**
|
| + * Returns a dictionary describing the Power Saver state of the plugin.
|
| + */
|
| + PP_Var GetPowerSaverStatus([in] PP_Instance instance);
|
| +
|
| /**
|
| - * Returns PP_TRUE if the plugin is peripheral, PP_FALSE otherwise.
|
| + * Subscribes the plugin to receieve message notifications when the browser
|
| + * changes the plugin's Power Saver state. Implement the HandleMessage()
|
| + * interface in PPP_MessageHandler to recieve these messages.
|
| */
|
| - 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
|
|
|