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

Unified Diff: content/renderer/render_frame_impl.h

Issue 1497623002: Plugin Power Saver: Improve Poster behavior for essential plugins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 baed47f7683970358184e5ef6436c621b47abb88..622ae8e54061c9170f0e35b19ceb7563f5711123 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -375,11 +375,10 @@ class CONTENT_EXPORT RenderFrameImpl
void RegisterPeripheralPlugin(
const url::Origin& content_origin,
const base::Closure& unthrottle_callback) override;
- bool ShouldThrottleContent(const url::Origin& main_frame_origin,
- const url::Origin& content_origin,
- int width,
- int height,
- bool* cross_origin_main_content) const override;
+ RenderFrame::PeripheralContentStatus GetPeripheralContentStatus(
+ const url::Origin& main_frame_origin,
+ const url::Origin& content_origin,
+ const gfx::Size& unobscured_size) const override;
void WhitelistContentOrigin(const url::Origin& content_origin) override;
#endif
bool IsFTPDirectoryListing() override;

Powered by Google App Engine
This is Rietveld 408576698