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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 376033002: Adding MimeHandlerView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pending-zork-patch2
Patch Set: sync @tott Created 6 years, 5 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/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index ada672f46ecc109e9fa3f853426a8420e8d0f26a..82484f65c5db83dc21c8283bd462a40e2c35c9a4 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -89,10 +89,13 @@ class CONTENT_EXPORT ContentRendererClient {
// Allows the embedder to override creating a plugin. If it returns true, then
// |plugin| will contain the created plugin, although it could be NULL. If it
// returns false, the content layer will create the plugin.
+ // |instance_id| will be filled in if we need to create a MimeHandlerView
+ // plugin.
virtual bool OverrideCreatePlugin(
RenderFrame* render_frame,
blink::WebLocalFrame* frame,
const blink::WebPluginParams& params,
+ int* instance_id,
blink::WebPlugin** plugin);
// Creates a replacement plug-in that is shown when the plug-in at |file_path|

Powered by Google App Engine
This is Rietveld 408576698