| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_ | 5 #ifndef CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_ |
| 6 #define CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_ | 6 #define CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| 11 #include <queue> | 11 #include <queue> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 15 #include "base/gfx/native_widget_types.h" | 15 #include "base/gfx/native_widget_types.h" |
| 16 #include "base/scoped_ptr.h" | 16 #include "base/scoped_ptr.h" |
| 17 #include "base/task.h" | 17 #include "base/task.h" |
| 18 #include "chrome/browser/net/resolve_proxy_msg_helper.h" | 18 #include "chrome/browser/net/resolve_proxy_msg_helper.h" |
| 19 #include "chrome/browser/renderer_host/resource_message_filter.h" | 19 #include "chrome/browser/renderer_host/resource_message_filter.h" |
| 20 #include "chrome/common/child_process_host.h" | 20 #include "chrome/common/child_process_host.h" |
| 21 #include "chrome/common/ipc_channel_handle.h" | 21 #include "ipc/ipc_channel_handle.h" |
| 22 #include "webkit/glue/webplugininfo.h" | 22 #include "webkit/glue/webplugininfo.h" |
| 23 | 23 |
| 24 class URLRequestContext; | 24 class URLRequestContext; |
| 25 struct ViewHostMsg_Resource_Request; | 25 struct ViewHostMsg_Resource_Request; |
| 26 class GURL; | 26 class GURL; |
| 27 | 27 |
| 28 // Represents the browser side of the browser <--> plugin communication | 28 // Represents the browser side of the browser <--> plugin communication |
| 29 // channel. Different plugins run in their own process, but multiple instances | 29 // channel. Different plugins run in their own process, but multiple instances |
| 30 // of the same plugin run in the same process. There will be one | 30 // of the same plugin run in the same process. There will be one |
| 31 // PluginProcessHost per plugin process, matched with a corresponding | 31 // PluginProcessHost per plugin process, matched with a corresponding |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 | 143 |
| 144 #if defined(OS_WIN) | 144 #if defined(OS_WIN) |
| 145 // Tracks plugin parent windows created on the UI thread. | 145 // Tracks plugin parent windows created on the UI thread. |
| 146 std::set<HWND> plugin_parent_windows_set_; | 146 std::set<HWND> plugin_parent_windows_set_; |
| 147 #endif | 147 #endif |
| 148 | 148 |
| 149 DISALLOW_EVIL_CONSTRUCTORS(PluginProcessHost); | 149 DISALLOW_EVIL_CONSTRUCTORS(PluginProcessHost); |
| 150 }; | 150 }; |
| 151 | 151 |
| 152 #endif // CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_ | 152 #endif // CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_ |
| OLD | NEW |