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

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 07142af90f19bac111f3bc8e89c2b85da5e6529d..e5027967a2051e5a598d35cc7c797502a70a8585 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -57,6 +57,7 @@ class InterstitialPageImpl;
class JavaScriptDialogManager;
class ManifestManagerHost;
class MidiDispatcherHost;
+class PluginContentOriginWhitelist;
class PowerSaveBlocker;
class RenderViewHost;
class RenderViewHostDelegateView;
@@ -1163,6 +1164,11 @@ class CONTENT_EXPORT WebContentsImpl
// 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<PluginContentOriginWhitelist> 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.
NotificationRegistrar registrar_;
« no previous file with comments | « content/browser/plugin_content_origin_whitelist.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698