| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 class DevToolsAgentFilter; | 76 class DevToolsAgentFilter; |
| 77 class DomStorageDispatcher; | 77 class DomStorageDispatcher; |
| 78 class GpuChannelHost; | 78 class GpuChannelHost; |
| 79 class IndexedDBDispatcher; | 79 class IndexedDBDispatcher; |
| 80 class InputHandlerManager; | 80 class InputHandlerManager; |
| 81 class MediaStreamCenter; | 81 class MediaStreamCenter; |
| 82 class MediaStreamDependencyFactory; | 82 class MediaStreamDependencyFactory; |
| 83 class P2PSocketDispatcher; | 83 class P2PSocketDispatcher; |
| 84 class PeerConnectionTracker; | 84 class PeerConnectionTracker; |
| 85 class RendererWebKitPlatformSupportImpl; | 85 class RendererWebKitPlatformSupportImpl; |
| 86 #if !defined(OS_ANDROID) && !defined(OS_MACOSX) |
| 87 class RenderProcessDiscardableMemoryProvider; |
| 88 #endif |
| 86 class RenderProcessObserver; | 89 class RenderProcessObserver; |
| 87 class VideoCaptureImplManager; | 90 class VideoCaptureImplManager; |
| 88 class WebDatabaseObserverImpl; | 91 class WebDatabaseObserverImpl; |
| 89 class WebGraphicsContext3DCommandBufferImpl; | 92 class WebGraphicsContext3DCommandBufferImpl; |
| 90 class WebRtcLoggingMessageFilter; | 93 class WebRtcLoggingMessageFilter; |
| 91 | 94 |
| 92 // The RenderThreadImpl class represents a background thread where RenderView | 95 // The RenderThreadImpl class represents a background thread where RenderView |
| 93 // instances live. The RenderThread supports an API that is used by its | 96 // instances live. The RenderThread supports an API that is used by its |
| 94 // consumer to talk indirectly to the RenderViews and supporting objects. | 97 // consumer to talk indirectly to the RenderViews and supporting objects. |
| 95 // Likewise, it provides an API for the RenderViews to talk back to the main | 98 // Likewise, it provides an API for the RenderViews to talk back to the main |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 414 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
| 412 | 415 |
| 413 // Used on multiple script execution context threads. | 416 // Used on multiple script execution context threads. |
| 414 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 417 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
| 415 | 418 |
| 416 #if defined(OS_WIN) | 419 #if defined(OS_WIN) |
| 417 // Initialize COM when using plugins outside the sandbox. | 420 // Initialize COM when using plugins outside the sandbox. |
| 418 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_; | 421 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_; |
| 419 #endif | 422 #endif |
| 420 | 423 |
| 424 #if !defined(OS_ANDROID) && !defined(OS_MACOSX) |
| 425 scoped_ptr<RenderProcessDiscardableMemoryProvider> discardable_provider_; |
| 426 #endif |
| 427 |
| 421 // The count of RenderWidgets running through this thread. | 428 // The count of RenderWidgets running through this thread. |
| 422 int widget_count_; | 429 int widget_count_; |
| 423 | 430 |
| 424 // The count of hidden RenderWidgets running through this thread. | 431 // The count of hidden RenderWidgets running through this thread. |
| 425 int hidden_widget_count_; | 432 int hidden_widget_count_; |
| 426 | 433 |
| 427 // The current value of the idle notification timer delay. | 434 // The current value of the idle notification timer delay. |
| 428 int64 idle_notification_delay_in_ms_; | 435 int64 idle_notification_delay_in_ms_; |
| 429 | 436 |
| 430 // The number of idle handler calls that skip sending idle notifications. | 437 // The number of idle handler calls that skip sending idle notifications. |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 480 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
| 474 | 481 |
| 475 HistogramCustomizer histogram_customizer_; | 482 HistogramCustomizer histogram_customizer_; |
| 476 | 483 |
| 477 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 484 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 478 }; | 485 }; |
| 479 | 486 |
| 480 } // namespace content | 487 } // namespace content |
| 481 | 488 |
| 482 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 489 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |