| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 struct ChannelHandle; | 49 struct ChannelHandle; |
| 50 } | 50 } |
| 51 | 51 |
| 52 namespace WebKit { | 52 namespace WebKit { |
| 53 class WebStorageEventDispatcher; | 53 class WebStorageEventDispatcher; |
| 54 } | 54 } |
| 55 | 55 |
| 56 namespace base { | 56 namespace base { |
| 57 class MessageLoopProxy; | 57 class MessageLoopProxy; |
| 58 class Thread; | 58 class Thread; |
| 59 namespace win { |
| 60 class ScopedCOMInitializer; |
| 61 } |
| 59 } | 62 } |
| 60 | 63 |
| 61 namespace content { | 64 namespace content { |
| 62 class RenderProcessObserver; | 65 class RenderProcessObserver; |
| 63 } | 66 } |
| 64 | 67 |
| 65 namespace v8 { | 68 namespace v8 { |
| 66 class Extension; | 69 class Extension; |
| 67 } | 70 } |
| 68 | 71 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; | 206 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; |
| 204 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 207 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
| 205 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; | 208 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; |
| 206 | 209 |
| 207 // Used on multiple threads. | 210 // Used on multiple threads. |
| 208 scoped_refptr<VideoCaptureImplManager> vc_manager_; | 211 scoped_refptr<VideoCaptureImplManager> vc_manager_; |
| 209 | 212 |
| 210 // Used on multiple script execution context threads. | 213 // Used on multiple script execution context threads. |
| 211 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 214 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
| 212 | 215 |
| 216 // Initialize COM when using plugins outside the sandbox (Windows only). |
| 217 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_; |
| 218 |
| 213 // If true, then a GetPlugins call is allowed to rescan the disk. | 219 // If true, then a GetPlugins call is allowed to rescan the disk. |
| 214 bool plugin_refresh_allowed_; | 220 bool plugin_refresh_allowed_; |
| 215 | 221 |
| 216 // The count of RenderWidgets running through this thread. | 222 // The count of RenderWidgets running through this thread. |
| 217 int widget_count_; | 223 int widget_count_; |
| 218 | 224 |
| 219 // The count of hidden RenderWidgets running through this thread. | 225 // The count of hidden RenderWidgets running through this thread. |
| 220 int hidden_widget_count_; | 226 int hidden_widget_count_; |
| 221 | 227 |
| 222 // The current value of the idle notification timer delay. | 228 // The current value of the idle notification timer delay. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 238 std::set<std::string> v8_extensions_; | 244 std::set<std::string> v8_extensions_; |
| 239 | 245 |
| 240 scoped_ptr<CompositorThread> compositor_thread_; | 246 scoped_ptr<CompositorThread> compositor_thread_; |
| 241 | 247 |
| 242 ObserverList<content::RenderProcessObserver> observers_; | 248 ObserverList<content::RenderProcessObserver> observers_; |
| 243 | 249 |
| 244 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 250 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 245 }; | 251 }; |
| 246 | 252 |
| 247 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 253 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |