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(TOOLKIT_GTK) | 9 #if defined(TOOLKIT_GTK) |
10 #include <gtk/gtk.h> | 10 #include <gtk/gtk.h> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "base/process/kill.h" | 21 #include "base/process/kill.h" |
22 #include "base/process/process_handle.h" | 22 #include "base/process/process_handle.h" |
23 #include "base/threading/thread_local.h" | 23 #include "base/threading/thread_local.h" |
24 #include "content/child/child_process.h" | 24 #include "content/child/child_process.h" |
25 #include "content/child/npapi/npobject_util.h" | 25 #include "content/child/npapi/npobject_util.h" |
26 #include "content/child/npapi/plugin_lib.h" | 26 #include "content/child/npapi/plugin_lib.h" |
27 #include "content/common/plugin_process_messages.h" | 27 #include "content/common/plugin_process_messages.h" |
28 #include "content/public/common/content_switches.h" | 28 #include "content/public/common/content_switches.h" |
29 #include "content/public/plugin/content_plugin_client.h" | 29 #include "content/public/plugin/content_plugin_client.h" |
30 #include "ipc/ipc_channel_handle.h" | 30 #include "ipc/ipc_channel_handle.h" |
31 #include "webkit/glue/webkit_glue.h" | |
32 | 31 |
33 #if defined(TOOLKIT_GTK) | 32 #if defined(TOOLKIT_GTK) |
34 #include "ui/gfx/gtk_util.h" | 33 #include "ui/gfx/gtk_util.h" |
35 #endif | 34 #endif |
36 | 35 |
37 #if defined(USE_X11) | 36 #if defined(USE_X11) |
38 #include "ui/base/x/x11_util.h" | 37 #include "ui/base/x/x11_util.h" |
39 #endif | 38 #endif |
40 | 39 |
41 namespace content { | 40 namespace content { |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 } | 185 } |
187 | 186 |
188 Send(new PluginProcessHostMsg_ChannelCreated(channel_handle)); | 187 Send(new PluginProcessHostMsg_ChannelCreated(channel_handle)); |
189 } | 188 } |
190 | 189 |
191 void PluginThread::OnNotifyRenderersOfPendingShutdown() { | 190 void PluginThread::OnNotifyRenderersOfPendingShutdown() { |
192 PluginChannel::NotifyRenderersOfPendingShutdown(); | 191 PluginChannel::NotifyRenderersOfPendingShutdown(); |
193 } | 192 } |
194 | 193 |
195 } // namespace content | 194 } // namespace content |
OLD | NEW |