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" |
11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/string_split.h" | 14 #include "base/string_split.h" |
15 #include "base/task.h" | 15 #include "base/task.h" |
16 #include "base/time.h" | 16 #include "base/time.h" |
17 #include "chrome/common/pepper_plugin_registry.h" | 17 #include "chrome/common/pepper_plugin_registry.h" |
18 #include "chrome/common/render_messages.h" | 18 #include "chrome/common/render_messages.h" |
19 #include "chrome/common/render_messages_params.h" | |
20 #include "chrome/renderer/render_thread.h" | 19 #include "chrome/renderer/render_thread.h" |
21 #include "content/common/audio_messages.h" | 20 #include "content/common/audio_messages.h" |
22 #include "content/common/child_process_messages.h" | 21 #include "content/common/child_process_messages.h" |
23 #include "content/common/child_thread.h" | 22 #include "content/common/child_thread.h" |
24 #include "content/common/file_system/file_system_dispatcher.h" | 23 #include "content/common/file_system/file_system_dispatcher.h" |
25 #include "content/common/pepper_file_messages.h" | 24 #include "content/common/pepper_file_messages.h" |
26 #include "content/common/pepper_messages.h" | 25 #include "content/common/pepper_messages.h" |
27 #include "content/common/view_messages.h" | 26 #include "content/common/view_messages.h" |
28 #include "content/renderer/audio_message_filter.h" | 27 #include "content/renderer/audio_message_filter.h" |
29 #include "content/renderer/command_buffer_proxy.h" | 28 #include "content/renderer/command_buffer_proxy.h" |
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 } | 957 } |
959 | 958 |
960 void PepperPluginDelegateImpl::HasUnsupportedFeature() { | 959 void PepperPluginDelegateImpl::HasUnsupportedFeature() { |
961 render_view_->Send(new ViewHostMsg_PDFHasUnsupportedFeature( | 960 render_view_->Send(new ViewHostMsg_PDFHasUnsupportedFeature( |
962 render_view_->routing_id())); | 961 render_view_->routing_id())); |
963 } | 962 } |
964 | 963 |
965 P2PSocketDispatcher* PepperPluginDelegateImpl::GetP2PSocketDispatcher() { | 964 P2PSocketDispatcher* PepperPluginDelegateImpl::GetP2PSocketDispatcher() { |
966 return render_view_->p2p_socket_dispatcher(); | 965 return render_view_->p2p_socket_dispatcher(); |
967 } | 966 } |
OLD | NEW |