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 "webkit/glue/webplugin.h" | 21 #include "webkit/glue/webplugininfo.h" |
22 | 22 |
23 class URLRequestContext; | 23 class URLRequestContext; |
24 struct ViewHostMsg_Resource_Request; | 24 struct ViewHostMsg_Resource_Request; |
25 class GURL; | 25 class GURL; |
26 | 26 |
27 // Represents the browser side of the browser <--> plugin communication | 27 // Represents the browser side of the browser <--> plugin communication |
28 // channel. Different plugins run in their own process, but multiple instances | 28 // channel. Different plugins run in their own process, but multiple instances |
29 // of the same plugin run in the same process. There will be one | 29 // of the same plugin run in the same process. There will be one |
30 // PluginProcessHost per plugin process, matched with a corresponding | 30 // PluginProcessHost per plugin process, matched with a corresponding |
31 // PluginProcess running in the plugin process. The browser is responsible for | 31 // PluginProcess running in the plugin process. The browser is responsible for |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 | 138 |
139 #if defined(OS_WIN) | 139 #if defined(OS_WIN) |
140 // Tracks plugin parent windows created on the UI thread. | 140 // Tracks plugin parent windows created on the UI thread. |
141 std::set<HWND> plugin_parent_windows_set_; | 141 std::set<HWND> plugin_parent_windows_set_; |
142 #endif | 142 #endif |
143 | 143 |
144 DISALLOW_EVIL_CONSTRUCTORS(PluginProcessHost); | 144 DISALLOW_EVIL_CONSTRUCTORS(PluginProcessHost); |
145 }; | 145 }; |
146 | 146 |
147 #endif // CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_ | 147 #endif // CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_ |
OLD | NEW |