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

Unified Diff: content/renderer/pepper_plugin_delegate_impl.cc

Issue 7709020: Moving the ViewHostMsg_PDFHasUnsupportedFeature IPC message to Chrome as PDF is a chrome specific (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | « content/renderer/pepper_plugin_delegate_impl.h ('k') | webkit/plugins/ppapi/mock_plugin_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper_plugin_delegate_impl.cc
===================================================================
--- content/renderer/pepper_plugin_delegate_impl.cc (revision 97671)
+++ content/renderer/pepper_plugin_delegate_impl.cc (working copy)
@@ -1422,11 +1422,6 @@
render_view_->routing_id(), restrictions));
}
-void PepperPluginDelegateImpl::HasUnsupportedFeature() {
- render_view_->Send(new ViewHostMsg_PDFHasUnsupportedFeature(
- render_view_->routing_id()));
-}
-
void PepperPluginDelegateImpl::SaveURLAs(const GURL& url) {
render_view_->Send(new ViewHostMsg_SaveURLAs(
render_view_->routing_id(), url));
@@ -1477,6 +1472,10 @@
return ppapi::Preferences(render_view_->webkit_preferences());
}
+int PepperPluginDelegateImpl::GetRoutingId() const {
+ return render_view_->routing_id();
+}
+
void PepperPluginDelegateImpl::PublishInitialPolicy(
scoped_refptr<webkit::ppapi::PluginInstance> instance,
const std::string& policy) {
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.h ('k') | webkit/plugins/ppapi/mock_plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698