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

Unified Diff: ppapi/c/private/ppb_testing_private.h

Issue 1088763002: Plugin Power Saver: Add comprehensive browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0260-plugins-overhaul-prerender-tests
Patch Set: make a separate power saver test plugin 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/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 3d35ec7ea58e11cc6da9ccb36c22bd9a2f54a67d..5003d754a6c30acbaf8b48973026674ecbf0a500 100644
--- a/ppapi/c/private/ppb_testing_private.h
+++ b/ppapi/c/private/ppb_testing_private.h
@@ -93,6 +93,10 @@ struct PPB_Testing_Private_1_0 {
*/
PP_Bool (*IsOutOfProcess)(void);
/**
+ * Returns PP_TRUE if the plugin is peripheral, PP_FALSE otherwise.
+ */
+ PP_Bool (*IsPeripheral)(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