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

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
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 9b1813252f5d724c85d5e3d64ba426c3083a1f80..273ba300280dd386e5012eb46b54621ef88ff80a 100644
--- a/content/renderer/pepper/pepper_plugin_instance_throttler.h
+++ b/content/renderer/pepper/pepper_plugin_instance_throttler.h
@@ -34,6 +34,8 @@ class CONTENT_EXPORT PepperPluginInstanceThrottler {
virtual ~PepperPluginInstanceThrottler();
+ bool needs_snapshot() const { return needs_snapshot_; }
+
// Call to supply the throttler with candidate frames.
void OnImageFlush(const SkBitmap* bitmap);
« no previous file with comments | « no previous file | content/renderer/pepper/resource_creation_impl.h » ('j') | content/renderer/pepper/resource_creation_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698