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/plugin/plugin_thread.h" | 5 #include "content/plugin/plugin_thread.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #if defined(OS_MACOSX) | 9 #if defined(OS_MACOSX) |
10 #include <CoreFoundation/CoreFoundation.h> | 10 #include <CoreFoundation/CoreFoundation.h> |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "content/child/blink_platform_impl.h" | 22 #include "content/child/blink_platform_impl.h" |
23 #include "content/child/child_process.h" | 23 #include "content/child/child_process.h" |
24 #include "content/child/npapi/npobject_util.h" | 24 #include "content/child/npapi/npobject_util.h" |
25 #include "content/child/npapi/plugin_lib.h" | 25 #include "content/child/npapi/plugin_lib.h" |
26 #include "content/common/plugin_process_messages.h" | 26 #include "content/common/plugin_process_messages.h" |
27 #include "content/public/common/content_switches.h" | 27 #include "content/public/common/content_switches.h" |
28 #include "content/public/plugin/content_plugin_client.h" | 28 #include "content/public/plugin/content_plugin_client.h" |
29 #include "third_party/WebKit/public/web/WebKit.h" | 29 #include "third_party/WebKit/public/web/WebKit.h" |
30 #include "ipc/ipc_channel_handle.h" | 30 #include "ipc/ipc_channel_handle.h" |
31 | 31 |
32 #if defined(USE_X11) | |
33 #include "ui/base/x/x11_util.h" | |
34 #endif | |
35 | |
36 namespace content { | 32 namespace content { |
37 | 33 |
38 namespace { | 34 namespace { |
39 | 35 |
40 class EnsureTerminateMessageFilter : public IPC::ChannelProxy::MessageFilter { | 36 class EnsureTerminateMessageFilter : public IPC::ChannelProxy::MessageFilter { |
41 public: | 37 public: |
42 EnsureTerminateMessageFilter() {} | 38 EnsureTerminateMessageFilter() {} |
43 | 39 |
44 protected: | 40 protected: |
45 virtual ~EnsureTerminateMessageFilter() {} | 41 virtual ~EnsureTerminateMessageFilter() {} |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 } | 151 } |
156 | 152 |
157 Send(new PluginProcessHostMsg_ChannelCreated(channel_handle)); | 153 Send(new PluginProcessHostMsg_ChannelCreated(channel_handle)); |
158 } | 154 } |
159 | 155 |
160 void PluginThread::OnNotifyRenderersOfPendingShutdown() { | 156 void PluginThread::OnNotifyRenderersOfPendingShutdown() { |
161 PluginChannel::NotifyRenderersOfPendingShutdown(); | 157 PluginChannel::NotifyRenderersOfPendingShutdown(); |
162 } | 158 } |
163 | 159 |
164 } // namespace content | 160 } // namespace content |
OLD | NEW |