Reland: Plugin Power Saver: Improve Poster behavior for essential plugins.
Reland of https://codereview.chromium.org/1497623002/
TBR=
BUG=560590,569198
Review URL: https://codereview.chromium.org/1522173002
Cr-Commit-Position: refs/heads/master@{#366210}
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 37d3ba0..907367be 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -379,11 +379,10 @@
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;