| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/renderer/pepper_plugin_delegate_impl.h" | 5 #include "content/renderer/pepper_plugin_delegate_impl.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 #include <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 892 void PepperPluginDelegateImpl::SetContentRestriction(int restrictions) { | 892 void PepperPluginDelegateImpl::SetContentRestriction(int restrictions) { |
| 893 render_view_->Send(new ViewHostMsg_UpdateContentRestrictions( | 893 render_view_->Send(new ViewHostMsg_UpdateContentRestrictions( |
| 894 render_view_->routing_id(), restrictions)); | 894 render_view_->routing_id(), restrictions)); |
| 895 } | 895 } |
| 896 | 896 |
| 897 void PepperPluginDelegateImpl::HasUnsupportedFeature() { | 897 void PepperPluginDelegateImpl::HasUnsupportedFeature() { |
| 898 render_view_->Send(new ViewHostMsg_PDFHasUnsupportedFeature( | 898 render_view_->Send(new ViewHostMsg_PDFHasUnsupportedFeature( |
| 899 render_view_->routing_id())); | 899 render_view_->routing_id())); |
| 900 } | 900 } |
| 901 | 901 |
| 902 void PepperPluginDelegateImpl::SaveAs() { |
| 903 render_view_->Send(new ViewHostMsg_SaveAs( |
| 904 render_view_->routing_id())); |
| 905 } |
| 906 |
| 902 P2PSocketDispatcher* PepperPluginDelegateImpl::GetP2PSocketDispatcher() { | 907 P2PSocketDispatcher* PepperPluginDelegateImpl::GetP2PSocketDispatcher() { |
| 903 return render_view_->p2p_socket_dispatcher(); | 908 return render_view_->p2p_socket_dispatcher(); |
| 904 } | 909 } |
| OLD | NEW |