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

Unified Diff: content/renderer/pepper/pepper_plugin_instance_throttler.h

Issue 727073002: Plugin Power Saver: Force SW rendering for peripheral plugins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0192-plugin-power-saver-implement-basic-stop-frame-heuristic
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | content/renderer/pepper/ppb_graphics_3d_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_plugin_instance_throttler.h
diff --git a/content/renderer/pepper/pepper_plugin_instance_throttler.h b/content/renderer/pepper/pepper_plugin_instance_throttler.h
index 16fc1ff8e517fdc6ba6ce5e64717b0931d63a9d4..74c4ab783eceb934d82d3bfb9553ca78ab69cd61 100644
--- a/content/renderer/pepper/pepper_plugin_instance_throttler.h
+++ b/content/renderer/pepper/pepper_plugin_instance_throttler.h
@@ -52,6 +52,10 @@ class CONTENT_EXPORT PepperPluginInstanceThrottler {
virtual ~PepperPluginInstanceThrottler();
+ bool needs_representative_keyframe() const {
+ return needs_representative_keyframe_;
+ }
+
// Called when the plugin flushes it's graphics context. Supplies the
// throttler with a candidate to use as the representative keyframe.
void OnImageFlush(const SkBitmap* bitmap);
« no previous file with comments | « no previous file | content/renderer/pepper/ppb_graphics_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698