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 "chrome/renderer/pepper_plugin_delegate_impl.h" | 5 #include "chrome/renderer/pepper_plugin_delegate_impl.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "app/surface/transport_dib.h" | 10 #include "app/surface/transport_dib.h" |
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 } | 884 } |
885 | 885 |
886 void PepperPluginDelegateImpl::DidStopLoading() { | 886 void PepperPluginDelegateImpl::DidStopLoading() { |
887 render_view_->DidStopLoadingForPlugin(); | 887 render_view_->DidStopLoadingForPlugin(); |
888 } | 888 } |
889 | 889 |
890 void PepperPluginDelegateImpl::SetContentRestriction(int restrictions) { | 890 void PepperPluginDelegateImpl::SetContentRestriction(int restrictions) { |
891 render_view_->Send(new ViewHostMsg_UpdateContentRestrictions( | 891 render_view_->Send(new ViewHostMsg_UpdateContentRestrictions( |
892 render_view_->routing_id(), restrictions)); | 892 render_view_->routing_id(), restrictions)); |
893 } | 893 } |
| 894 |
| 895 void PepperPluginDelegateImpl::HasUnsupportedFeature() { |
| 896 render_view_->Send(new ViewHostMsg_PDFHasUnsupportedFeature( |
| 897 render_view_->routing_id())); |
| 898 } |
OLD | NEW |