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

Unified Diff: components/plugins/renderer/loadable_plugin_placeholder.h

Issue 1124343002: Plugin Power Saver: Enable JS access to throttled plugins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: components/plugins/renderer/loadable_plugin_placeholder.h
diff --git a/components/plugins/renderer/loadable_plugin_placeholder.h b/components/plugins/renderer/loadable_plugin_placeholder.h
index 4ddbaacaf3b74b0f64933fb91d727fea0904bd30..7683ba7c6d8a081c1c7116859c449a061552a52c 100644
--- a/components/plugins/renderer/loadable_plugin_placeholder.h
+++ b/components/plugins/renderer/loadable_plugin_placeholder.h
@@ -83,6 +83,8 @@ class LoadablePluginPlaceholder : public PluginPlaceholder {
private:
// WebViewPlugin::Delegate methods:
void PluginDestroyed() override;
+ v8::Local<v8::Object> GetV8ScriptableObject(
+ v8::Isolate* isolate) const override;
// RenderFrameObserver methods:
void WasShown() override;
« no previous file with comments | « chrome/browser/plugins/plugin_power_saver_browsertest.cc ('k') | components/plugins/renderer/loadable_plugin_placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698