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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 class DBMessageFilter; | 82 class DBMessageFilter; |
83 class DevToolsAgentFilter; | 83 class DevToolsAgentFilter; |
84 class DomStorageDispatcher; | 84 class DomStorageDispatcher; |
85 class EmbeddedWorkerDispatcher; | 85 class EmbeddedWorkerDispatcher; |
86 class GamepadSharedMemoryReader; | 86 class GamepadSharedMemoryReader; |
87 class GpuChannelHost; | 87 class GpuChannelHost; |
88 class IndexedDBDispatcher; | 88 class IndexedDBDispatcher; |
89 class InputEventFilter; | 89 class InputEventFilter; |
90 class InputHandlerManager; | 90 class InputHandlerManager; |
91 class MediaStreamCenter; | 91 class MediaStreamCenter; |
| 92 class MemoryObserver; |
92 class PeerConnectionDependencyFactory; | 93 class PeerConnectionDependencyFactory; |
93 class MidiMessageFilter; | 94 class MidiMessageFilter; |
94 class NetInfoDispatcher; | 95 class NetInfoDispatcher; |
95 class P2PSocketDispatcher; | 96 class P2PSocketDispatcher; |
96 class PeerConnectionTracker; | 97 class PeerConnectionTracker; |
97 class RendererDemuxerAndroid; | 98 class RendererDemuxerAndroid; |
98 class RendererWebKitPlatformSupportImpl; | 99 class RendererWebKitPlatformSupportImpl; |
99 class RenderProcessObserver; | 100 class RenderProcessObserver; |
100 class VideoCaptureImplManager; | 101 class VideoCaptureImplManager; |
101 class WebGraphicsContext3DCommandBufferImpl; | 102 class WebGraphicsContext3DCommandBufferImpl; |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 | 561 |
561 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; | 562 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; |
562 | 563 |
563 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 564 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
564 | 565 |
565 // TODO(reveman): Allow AllocateGpuMemoryBuffer to be called from | 566 // TODO(reveman): Allow AllocateGpuMemoryBuffer to be called from |
566 // multiple threads. Current allocation mechanism for IOSurface | 567 // multiple threads. Current allocation mechanism for IOSurface |
567 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 568 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
568 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 569 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
569 | 570 |
| 571 scoped_ptr<MemoryObserver> memory_observer_; |
| 572 |
570 // Compositor settings | 573 // Compositor settings |
571 bool is_gpu_rasterization_enabled_; | 574 bool is_gpu_rasterization_enabled_; |
572 bool is_gpu_rasterization_forced_; | 575 bool is_gpu_rasterization_forced_; |
573 bool is_impl_side_painting_enabled_; | 576 bool is_impl_side_painting_enabled_; |
574 bool is_low_res_tiling_enabled_; | 577 bool is_low_res_tiling_enabled_; |
575 bool is_lcd_text_enabled_; | 578 bool is_lcd_text_enabled_; |
576 bool is_distance_field_text_enabled_; | 579 bool is_distance_field_text_enabled_; |
577 bool is_zero_copy_enabled_; | 580 bool is_zero_copy_enabled_; |
578 bool is_one_copy_enabled_; | 581 bool is_one_copy_enabled_; |
579 | 582 |
580 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 583 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
581 | 584 |
582 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 585 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
583 }; | 586 }; |
584 | 587 |
585 } // namespace content | 588 } // namespace content |
586 | 589 |
587 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 590 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |