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 20 matching lines...) Expand all Loading... |
31 namespace blink { | 31 namespace blink { |
32 class WebGamepads; | 32 class WebGamepads; |
33 class WebGraphicsContext3D; | 33 class WebGraphicsContext3D; |
34 class WebMediaStreamCenter; | 34 class WebMediaStreamCenter; |
35 class WebMediaStreamCenterClient; | 35 class WebMediaStreamCenterClient; |
36 } | 36 } |
37 | 37 |
38 namespace base { | 38 namespace base { |
39 class MessageLoopProxy; | 39 class MessageLoopProxy; |
40 class Thread; | 40 class Thread; |
41 | |
42 #if defined(OS_WIN) | |
43 namespace win { | |
44 class ScopedCOMInitializer; | |
45 } | |
46 #endif | |
47 } | 41 } |
48 | 42 |
49 namespace cc { | 43 namespace cc { |
50 class ContextProvider; | 44 class ContextProvider; |
51 } | 45 } |
52 | 46 |
53 namespace IPC { | 47 namespace IPC { |
54 class ForwardingMessageFilter; | 48 class ForwardingMessageFilter; |
55 } | 49 } |
56 | 50 |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 // This is used to communicate to the browser process the status | 422 // This is used to communicate to the browser process the status |
429 // of all the peer connections created in the renderer. | 423 // of all the peer connections created in the renderer. |
430 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; | 424 scoped_ptr<PeerConnectionTracker> peer_connection_tracker_; |
431 | 425 |
432 // Dispatches all P2P sockets. | 426 // Dispatches all P2P sockets. |
433 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; | 427 scoped_refptr<P2PSocketDispatcher> p2p_socket_dispatcher_; |
434 | 428 |
435 // Used on multiple threads. | 429 // Used on multiple threads. |
436 scoped_refptr<VideoCaptureImplManager> vc_manager_; | 430 scoped_refptr<VideoCaptureImplManager> vc_manager_; |
437 | 431 |
438 #if defined(OS_WIN) | |
439 // Initialize COM when using plugins outside the sandbox. | |
440 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_; | |
441 #endif | |
442 | |
443 // The count of RenderWidgets running through this thread. | 432 // The count of RenderWidgets running through this thread. |
444 int widget_count_; | 433 int widget_count_; |
445 | 434 |
446 // The count of hidden RenderWidgets running through this thread. | 435 // The count of hidden RenderWidgets running through this thread. |
447 int hidden_widget_count_; | 436 int hidden_widget_count_; |
448 | 437 |
449 // The current value of the idle notification timer delay. | 438 // The current value of the idle notification timer delay. |
450 int64 idle_notification_delay_in_ms_; | 439 int64 idle_notification_delay_in_ms_; |
451 | 440 |
452 // The number of idle handler calls that skip sending idle notifications. | 441 // The number of idle handler calls that skip sending idle notifications. |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 // multiple threads. Current allocation mechanism for IOSurface | 500 // multiple threads. Current allocation mechanism for IOSurface |
512 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 501 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
513 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 502 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
514 | 503 |
515 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 504 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
516 }; | 505 }; |
517 | 506 |
518 } // namespace content | 507 } // namespace content |
519 | 508 |
520 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 509 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |