| 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 #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 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 class WebGraphicsContext3DCommandBufferImpl; | 41 class WebGraphicsContext3DCommandBufferImpl; |
| 42 | 42 |
| 43 namespace WebKit { | 43 namespace WebKit { |
| 44 class WebMediaStreamCenter; | 44 class WebMediaStreamCenter; |
| 45 class WebMediaStreamCenterClient; | 45 class WebMediaStreamCenterClient; |
| 46 } | 46 } |
| 47 | 47 |
| 48 namespace base { | 48 namespace base { |
| 49 class MessageLoopProxy; | 49 class MessageLoopProxy; |
| 50 class Thread; | 50 class Thread; |
| 51 |
| 52 #if defined(OS_WIN) |
| 51 namespace win { | 53 namespace win { |
| 52 class ScopedCOMInitializer; | 54 class ScopedCOMInitializer; |
| 53 } | 55 } |
| 56 #endif |
| 54 } | 57 } |
| 55 | 58 |
| 56 namespace IPC { | 59 namespace IPC { |
| 57 class ForwardingMessageFilter; | 60 class ForwardingMessageFilter; |
| 58 } | 61 } |
| 59 | 62 |
| 60 namespace content { | 63 namespace content { |
| 61 class AudioRendererMixerManager; | 64 class AudioRendererMixerManager; |
| 62 class MediaStreamCenter; | 65 class MediaStreamCenter; |
| 63 class P2PSocketDispatcher; | 66 class P2PSocketDispatcher; |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 | 336 |
| 334 // Dispatches all P2P sockets. | 337 // Dispatches all P2P sockets. |
| 335 scoped_refptr<content::P2PSocketDispatcher> p2p_socket_dispatcher_; | 338 scoped_refptr<content::P2PSocketDispatcher> p2p_socket_dispatcher_; |
| 336 | 339 |
| 337 // Used on multiple threads. | 340 // Used on multiple threads. |
| 338 scoped_refptr<VideoCaptureImplManager> vc_manager_; | 341 scoped_refptr<VideoCaptureImplManager> vc_manager_; |
| 339 | 342 |
| 340 // Used on multiple script execution context threads. | 343 // Used on multiple script execution context threads. |
| 341 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 344 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
| 342 | 345 |
| 343 // Initialize COM when using plugins outside the sandbox (Windows only). | 346 #if defined(OS_WIN) |
| 347 // Initialize COM when using plugins outside the sandbox. |
| 344 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_; | 348 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_; |
| 349 #endif |
| 345 | 350 |
| 346 // The count of RenderWidgets running through this thread. | 351 // The count of RenderWidgets running through this thread. |
| 347 int widget_count_; | 352 int widget_count_; |
| 348 | 353 |
| 349 // The count of hidden RenderWidgets running through this thread. | 354 // The count of hidden RenderWidgets running through this thread. |
| 350 int hidden_widget_count_; | 355 int hidden_widget_count_; |
| 351 | 356 |
| 352 // The current value of the idle notification timer delay. | 357 // The current value of the idle notification timer delay. |
| 353 int64 idle_notification_delay_in_ms_; | 358 int64 idle_notification_delay_in_ms_; |
| 354 | 359 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 380 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; | 385 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; |
| 381 | 386 |
| 382 scoped_ptr<content::AudioRendererMixerManager> audio_renderer_mixer_manager_; | 387 scoped_ptr<content::AudioRendererMixerManager> audio_renderer_mixer_manager_; |
| 383 | 388 |
| 384 HistogramCustomizer histogram_customizer_; | 389 HistogramCustomizer histogram_customizer_; |
| 385 | 390 |
| 386 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 391 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 387 }; | 392 }; |
| 388 | 393 |
| 389 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 394 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |