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

Unified Diff: components/plugins/renderer/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/plugin_placeholder.h
diff --git a/components/plugins/renderer/plugin_placeholder.h b/components/plugins/renderer/plugin_placeholder.h
index b3e47c754bf9d4e794bd9f0e4e2cc9888dbaab08..5d9caa10ee4f33876c7a335d439b14107b12be48 100644
--- a/components/plugins/renderer/plugin_placeholder.h
+++ b/components/plugins/renderer/plugin_placeholder.h
@@ -38,6 +38,8 @@ class PluginPlaceholder : public content::RenderFrameObserver,
// WebViewPlugin::Delegate methods:
void ShowContextMenu(const blink::WebMouseEvent&) override;
void PluginDestroyed() override;
+ v8::Local<v8::Object> GetV8ScriptableObject(
+ v8::Isolate* isolate) const override;
private:
// RenderFrameObserver methods:
« no previous file with comments | « components/plugins/renderer/loadable_plugin_placeholder.cc ('k') | components/plugins/renderer/plugin_placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698