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

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
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::GetRenderViewRoutingId() const {
+ return render_view_ ? render_view_->routing_id() : 0;
jam 2011/08/23 02:44:30 are you sure you need to handle the NULL render_vi
ananta 2011/08/23 18:14:03 Removed the NULL check
+}
+
void PepperPluginDelegateImpl::PublishInitialPolicy(
scoped_refptr<webkit::ppapi::PluginInstance> instance,
const std::string& policy) {

Powered by Google App Engine
This is Rietveld 408576698