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

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

Issue 669703003: Plugin Power Saver: Restrict Power Saver to cross-origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: content/renderer/pepper/pepper_plugin_instance_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h
index 4b1493147a0deedf8f559539adf0d32718892c24..0700afa1d1da3095f9219b40fcdbf6317a64fcdc 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
@@ -130,7 +130,8 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
static PepperPluginInstanceImpl* Create(RenderFrameImpl* render_frame,
PluginModule* module,
blink::WebPluginContainer* container,
- const GURL& plugin_url);
+ const GURL& plugin_url,
+ const GURL& top_frame_url);
RenderFrameImpl* render_frame() const { return render_frame_; }
PluginModule* module() const { return module_.get(); }
@@ -593,7 +594,8 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
PluginModule* module,
ppapi::PPP_Instance_Combined* instance_interface,
blink::WebPluginContainer* container,
- const GURL& plugin_url);
+ const GURL& plugin_url,
+ const GURL& top_frame_url);
bool LoadFindInterface();
bool LoadInputEventInterface();

Powered by Google App Engine
This is Rietveld 408576698