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/host_dispatcher_wrapper.h" | 5 #include "content/renderer/pepper/host_dispatcher_wrapper.h" |
6 | 6 |
| 7 #include "build/build_config.h" |
7 #include "content/common/frame_messages.h" | 8 #include "content/common/frame_messages.h" |
8 #include "content/public/common/origin_util.h" | 9 #include "content/public/common/origin_util.h" |
9 #include "content/renderer/pepper/pepper_hung_plugin_filter.h" | 10 #include "content/renderer/pepper/pepper_hung_plugin_filter.h" |
10 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" | 11 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
11 #include "content/renderer/pepper/pepper_proxy_channel_delegate_impl.h" | 12 #include "content/renderer/pepper/pepper_proxy_channel_delegate_impl.h" |
12 #include "content/renderer/pepper/plugin_module.h" | 13 #include "content/renderer/pepper/plugin_module.h" |
13 #include "content/renderer/pepper/renderer_ppapi_host_impl.h" | 14 #include "content/renderer/pepper/renderer_ppapi_host_impl.h" |
14 #include "content/renderer/pepper/renderer_restrict_dispatch_group.h" | 15 #include "content/renderer/pepper/renderer_restrict_dispatch_group.h" |
15 #include "content/renderer/render_frame_impl.h" | 16 #include "content/renderer/render_frame_impl.h" |
16 #include "third_party/WebKit/public/web/WebDocument.h" | 17 #include "third_party/WebKit/public/web/WebDocument.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 if (host) { | 116 if (host) { |
116 RenderFrame* render_frame = host->GetRenderFrameForInstance(instance); | 117 RenderFrame* render_frame = host->GetRenderFrameForInstance(instance); |
117 if (render_frame) { | 118 if (render_frame) { |
118 render_frame->Send(new FrameHostMsg_DidDeleteOutOfProcessPepperInstance( | 119 render_frame->Send(new FrameHostMsg_DidDeleteOutOfProcessPepperInstance( |
119 plugin_child_id_, instance, is_external_)); | 120 plugin_child_id_, instance, is_external_)); |
120 } | 121 } |
121 } | 122 } |
122 } | 123 } |
123 | 124 |
124 } // namespace content | 125 } // namespace content |
OLD | NEW |