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

Unified Diff: chrome/renderer/render_view.cc

Issue 6259008: When we detect a PDF with an unsupported feature, ask the user if they want t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « chrome/renderer/pepper_plugin_delegate_impl.cc ('k') | chrome/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.cc
===================================================================
--- chrome/renderer/render_view.cc (revision 71882)
+++ chrome/renderer/render_view.cc (working copy)
@@ -918,8 +918,8 @@
ContentSetting setting;
std::string mime_type;
Send(new ViewHostMsg_GetPluginInfo(
- params.url, frame->top()->url(), params.mimeType.utf8(), &found,
- &info, &setting, &mime_type));
+ routing_id_, params.url, frame->top()->url(), params.mimeType.utf8(),
+ &found, &info, &setting, &mime_type));
if (!found || !info.enabled)
return NULL;
@@ -2684,7 +2684,8 @@
webkit::npapi::WebPluginInfo info;
GURL url(params.url);
std::string actual_mime_type;
- Send(new ViewHostMsg_GetPluginInfo(url,
+ Send(new ViewHostMsg_GetPluginInfo(routing_id_,
+ url,
frame->top()->url(),
params.mimeType.utf8(),
&found,
« no previous file with comments | « chrome/renderer/pepper_plugin_delegate_impl.cc ('k') | chrome/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698