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

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.h

Issue 11316316: Implement an IsAllowed function in the pepper PPB_Broker_Trusted API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_plugin_instance.h
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.h b/webkit/plugins/ppapi/ppapi_plugin_instance.h
index 07f588dbe06adb300ace2c0d9dbc90f680c35d31..1d0aff526f2e4a9bc6319d97ca297c90dc6d5691 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.h
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h
@@ -104,7 +104,10 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
// version of PPP_Instance possible by querying the given get_plugin_interface
// function. If the plugin does not support any valid PPP_Instance interface,
// returns NULL.
- static PluginInstance* Create(PluginDelegate* delegate, PluginModule* module);
+ static PluginInstance* Create(PluginDelegate* delegate,
+ PluginModule* module,
+ WebKit::WebPluginContainer* container,
+ const GURL& plugin_url);
// Delete should be called by the WebPlugin before this destructor.
virtual ~PluginInstance();
@@ -163,10 +166,8 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
const ::ppapi::ViewData& view_data() const { return view_data_; }
// PPP_Instance and PPP_Instance_Private pass-through.
- bool Initialize(WebKit::WebPluginContainer* container,
- const std::vector<std::string>& arg_names,
+ bool Initialize(const std::vector<std::string>& arg_names,
const std::vector<std::string>& arg_values,
- const GURL& plugin_url,
bool full_frame);
bool HandleDocumentLoad(PPB_URLLoader_Impl* loader);
bool HandleInputEvent(const WebKit::WebInputEvent& event,
@@ -478,7 +479,9 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
// initialization.
PluginInstance(PluginDelegate* delegate,
PluginModule* module,
- ::ppapi::PPP_Instance_Combined* instance_interface);
+ ::ppapi::PPP_Instance_Combined* instance_interface,
+ WebKit::WebPluginContainer* container,
+ const GURL& plugin_url);
bool LoadFindInterface();
bool LoadInputEventInterface();
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698