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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 680193002: Plugin Power Saver: Implement size-based heuristic for peripheral content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index f4adecbd4e82ce5e061812dab75466bd71129368..e19ec00dc53a70476b029841d08afb6f35d85235 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -46,6 +46,7 @@ struct ViewHostMsg_DateTimeDialogValue_Params;
struct ViewMsg_PostMessage_Params;
namespace content {
+class BrowserPluginContentOriginWhitelist;
class BrowserPluginEmbedder;
class BrowserPluginGuest;
class BrowserPluginGuestManager;
@@ -1161,6 +1162,11 @@ class CONTENT_EXPORT WebContentsImpl
// Manages the guest state for browser plugin, if this WebContents is a guest;
// NULL otherwise.
scoped_ptr<BrowserPluginGuest> browser_plugin_guest_;
+#if defined(ENABLE_PLUGINS)
+ // Manages the whitelist of plugin content origins exempt from power saving.
+ scoped_ptr<BrowserPluginContentOriginWhitelist>
+ browser_plugin_content_origin_whitelist_;
+#endif
// This must be at the end, or else we might get notifications and use other
// member variables that are gone.

Powered by Google App Engine
This is Rietveld 408576698