Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2200353002: Revert of services/ui: Have an explicit lifetime/ownership of ui::GpuService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/mus/window_manager_application.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 81 }
82 82
83 namespace memory_coordinator { 83 namespace memory_coordinator {
84 class ChildMemoryCoordinatorImpl; 84 class ChildMemoryCoordinatorImpl;
85 } 85 }
86 86
87 namespace scheduler { 87 namespace scheduler {
88 class WebThreadBase; 88 class WebThreadBase;
89 } 89 }
90 90
91 namespace ui {
92 class GpuService;
93 }
94
95 namespace v8 { 91 namespace v8 {
96 class Extension; 92 class Extension;
97 } 93 }
98 94
99 namespace content { 95 namespace content {
100 96
101 class AppCacheDispatcher; 97 class AppCacheDispatcher;
102 class AecDumpMessageFilter; 98 class AecDumpMessageFilter;
103 class AudioInputMessageFilter; 99 class AudioInputMessageFilter;
104 class AudioMessageFilter; 100 class AudioMessageFilter;
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; 649 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
654 650
655 HistogramCustomizer histogram_customizer_; 651 HistogramCustomizer histogram_customizer_;
656 652
657 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 653 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
658 654
659 std::unique_ptr<MemoryObserver> memory_observer_; 655 std::unique_ptr<MemoryObserver> memory_observer_;
660 std::unique_ptr<memory_coordinator::ChildMemoryCoordinatorImpl> 656 std::unique_ptr<memory_coordinator::ChildMemoryCoordinatorImpl>
661 memory_coordinator_; 657 memory_coordinator_;
662 658
663 #if defined(MOJO_SHELL_CLIENT)
664 std::unique_ptr<ui::GpuService> gpu_service_;
665 #endif
666
667 scoped_refptr<base::SingleThreadTaskRunner> 659 scoped_refptr<base::SingleThreadTaskRunner>
668 main_thread_compositor_task_runner_; 660 main_thread_compositor_task_runner_;
669 661
670 // Compositor settings. 662 // Compositor settings.
671 bool is_gpu_rasterization_enabled_; 663 bool is_gpu_rasterization_enabled_;
672 bool is_gpu_rasterization_forced_; 664 bool is_gpu_rasterization_forced_;
673 bool is_async_worker_context_enabled_; 665 bool is_async_worker_context_enabled_;
674 int gpu_rasterization_msaa_sample_count_; 666 int gpu_rasterization_msaa_sample_count_;
675 bool is_lcd_text_enabled_; 667 bool is_lcd_text_enabled_;
676 bool is_distance_field_text_enabled_; 668 bool is_distance_field_text_enabled_;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 712 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
721 }; 713 };
722 714
723 #if defined(COMPILER_MSVC) 715 #if defined(COMPILER_MSVC)
724 #pragma warning(pop) 716 #pragma warning(pop)
725 #endif 717 #endif
726 718
727 } // namespace content 719 } // namespace content
728 720
729 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 721 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « ash/mus/window_manager_application.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698