| Index: ppapi/c/private/ppb_testing_private.h
|
| diff --git a/ppapi/c/private/ppb_testing_private.h b/ppapi/c/private/ppb_testing_private.h
|
| index 5003d754a6c30acbaf8b48973026674ecbf0a500..9d80a816237535baa71f75608e4af7781544bf4c 100644
|
| --- a/ppapi/c/private/ppb_testing_private.h
|
| +++ b/ppapi/c/private/ppb_testing_private.h
|
| @@ -3,7 +3,7 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -/* From private/ppb_testing_private.idl modified Mon Jul 28 15:12:12 2014. */
|
| +/* From private/ppb_testing_private.idl modified Thu Apr 30 14:50:04 2015. */
|
|
|
| #ifndef PPAPI_C_PRIVATE_PPB_TESTING_PRIVATE_H_
|
| #define PPAPI_C_PRIVATE_PPB_TESTING_PRIVATE_H_
|
| @@ -93,9 +93,15 @@ struct PPB_Testing_Private_1_0 {
|
| */
|
| PP_Bool (*IsOutOfProcess)(void);
|
| /**
|
| - * Returns PP_TRUE if the plugin is peripheral, PP_FALSE otherwise.
|
| + * Returns a dictionary describing the Power Saver state of the plugin.
|
| */
|
| - PP_Bool (*IsPeripheral)(PP_Instance instance);
|
| + struct PP_Var (*GetPowerSaverStatus)(PP_Instance instance);
|
| + /**
|
| + * 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.
|
| + */
|
| + void (*SubscribeToPowerSaverNotifications)(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
|
|
|