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

Unified Diff: content/renderer/render_frame_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: spinoff ifdef changes into separate cl 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/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index b795c1fd8dfcf9f0c8ad5fda99854032624e524a..bde35f1ed0ed9fcb23353821c8e48dee8f7b5c64 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -72,6 +72,7 @@ class NotificationPermissionDispatcher;
class NotificationProvider;
class PageState;
class PepperPluginInstanceImpl;
+class PluginPowerSaverHelper;
class PushMessagingDispatcher;
class RendererAccessibility;
class RendererCdmManager;
@@ -238,6 +239,8 @@ class CONTENT_EXPORT RenderFrameImpl
void OnImeConfirmComposition(const base::string16& text,
const gfx::Range& replacement_range,
bool keep_selection);
+
+ PluginPowerSaverHelper* plugin_power_saver_helper();
#endif // defined(ENABLE_PLUGINS)
// May return NULL in some cases, especially if userMediaClient() returns
@@ -677,6 +680,8 @@ class CONTENT_EXPORT RenderFrameImpl
// Current text input composition text. Empty if no composition is in
// progress.
base::string16 pepper_composition_text_;
+
+ PluginPowerSaverHelper* plugin_power_saver_helper_;
#endif
RendererWebCookieJarImpl cookie_jar_;

Powered by Google App Engine
This is Rietveld 408576698