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

Unified Diff: content/renderer/pepper/plugin_module.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/plugin_module.h
diff --git a/content/renderer/pepper/plugin_module.h b/content/renderer/pepper/plugin_module.h
index 535ee257649b1e7dd6f1d73368db68d23a47454a..47dfcd5cdc5d8d20233caad43b2df91b92110e57 100644
--- a/content/renderer/pepper/plugin_module.h
+++ b/content/renderer/pepper/plugin_module.h
@@ -43,6 +43,7 @@ struct ChannelHandle;
namespace blink {
class WebPluginContainer;
+class WebURL;
} // namespace blink
namespace content {
@@ -141,7 +142,8 @@ class CONTENT_EXPORT PluginModule : public base::RefCounted<PluginModule>,
PepperPluginInstanceImpl* CreateInstance(RenderFrameImpl* render_frame,
blink::WebPluginContainer* container,
- const GURL& plugin_url);
+ const GURL& plugin_url,
+ const blink::WebURL& top_frame_url);
// Returns "some" plugin instance associated with this module. This is not
// guaranteed to be any one in particular. This is normally used to execute

Powered by Google App Engine
This is Rietveld 408576698