OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ppb_broker_impl.h" | 5 #include "content/renderer/pepper/ppb_broker_impl.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "content/common/view_messages.h" | 8 #include "content/common/view_messages.h" |
9 #include "content/renderer/pepper/common.h" | |
10 #include "content/renderer/pepper/host_globals.h" | 9 #include "content/renderer/pepper/host_globals.h" |
11 #include "content/renderer/pepper/pepper_broker.h" | 10 #include "content/renderer/pepper/pepper_broker.h" |
12 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" | 11 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
13 #include "content/renderer/pepper/plugin_module.h" | 12 #include "content/renderer/pepper/plugin_module.h" |
14 #include "content/renderer/render_thread_impl.h" | 13 #include "content/renderer/render_thread_impl.h" |
15 #include "content/renderer/render_view_impl.h" | 14 #include "content/renderer/render_view_impl.h" |
16 #include "ppapi/c/pp_errors.h" | 15 #include "ppapi/c/pp_errors.h" |
17 #include "ppapi/shared_impl/platform_file.h" | 16 #include "ppapi/shared_impl/platform_file.h" |
18 #include "third_party/WebKit/public/web/WebDocument.h" | 17 #include "third_party/WebKit/public/web/WebDocument.h" |
19 #include "third_party/WebKit/public/web/WebElement.h" | 18 #include "third_party/WebKit/public/web/WebElement.h" |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 base::ProcessId broker_pid, | 136 base::ProcessId broker_pid, |
138 const IPC::ChannelHandle& handle) { | 137 const IPC::ChannelHandle& handle) { |
139 broker_->OnBrokerChannelConnected(broker_pid, handle); | 138 broker_->OnBrokerChannelConnected(broker_pid, handle); |
140 } | 139 } |
141 | 140 |
142 void PPB_Broker_Impl::OnPpapiBrokerPermissionResult(bool result) { | 141 void PPB_Broker_Impl::OnPpapiBrokerPermissionResult(bool result) { |
143 broker_->OnBrokerPermissionResult(this, result); | 142 broker_->OnBrokerPermissionResult(this, result); |
144 } | 143 } |
145 | 144 |
146 } // namespace content | 145 } // namespace content |
OLD | NEW |