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

Unified Diff: chrome/renderer/plugins/plugin_preroller.h

Issue 1015023002: Plugin Power Saver: Throttle 'large' plugins that appear small. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: chrome/renderer/plugins/plugin_preroller.h
diff --git a/chrome/renderer/plugins/plugin_preroller.h b/chrome/renderer/plugins/plugin_preroller.h
index b059d77f040e78af516282d754cf9893df405c3a..dc782c84c3faf5d45a3d5085acfd999f6ef09e3b 100644
--- a/chrome/renderer/plugins/plugin_preroller.h
+++ b/chrome/renderer/plugins/plugin_preroller.h
@@ -54,6 +54,8 @@ class PluginPreroller : public content::PluginInstanceThrottler::Observer,
content::PluginInstanceThrottler* throttler_;
GURL keyframe_data_url_;
+ int keyframe_width_;
+ int keyframe_height_;
DISALLOW_COPY_AND_ASSIGN(PluginPreroller);
};

Powered by Google App Engine
This is Rietveld 408576698