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

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

Issue 2194003002: services/ui: Have an explicit lifetime/ownership of ui::GpuService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot merge 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 } 80 }
81 81
82 namespace memory_coordinator { 82 namespace memory_coordinator {
83 class ChildMemoryCoordinatorImpl; 83 class ChildMemoryCoordinatorImpl;
84 } 84 }
85 85
86 namespace scheduler { 86 namespace scheduler {
87 class WebThreadBase; 87 class WebThreadBase;
88 } 88 }
89 89
90 namespace ui {
91 class GpuService;
92 }
93
90 namespace v8 { 94 namespace v8 {
91 class Extension; 95 class Extension;
92 } 96 }
93 97
94 namespace content { 98 namespace content {
95 99
96 class AppCacheDispatcher; 100 class AppCacheDispatcher;
97 class AecDumpMessageFilter; 101 class AecDumpMessageFilter;
98 class AudioInputMessageFilter; 102 class AudioInputMessageFilter;
99 class AudioMessageFilter; 103 class AudioMessageFilter;
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; 652 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
649 653
650 HistogramCustomizer histogram_customizer_; 654 HistogramCustomizer histogram_customizer_;
651 655
652 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 656 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
653 657
654 std::unique_ptr<MemoryObserver> memory_observer_; 658 std::unique_ptr<MemoryObserver> memory_observer_;
655 std::unique_ptr<memory_coordinator::ChildMemoryCoordinatorImpl> 659 std::unique_ptr<memory_coordinator::ChildMemoryCoordinatorImpl>
656 memory_coordinator_; 660 memory_coordinator_;
657 661
662 #if defined(USE_AURA)
663 std::unique_ptr<ui::GpuService> gpu_service_;
664 #endif
665
658 scoped_refptr<base::SingleThreadTaskRunner> 666 scoped_refptr<base::SingleThreadTaskRunner>
659 main_thread_compositor_task_runner_; 667 main_thread_compositor_task_runner_;
660 668
661 // Compositor settings. 669 // Compositor settings.
662 bool is_gpu_rasterization_enabled_; 670 bool is_gpu_rasterization_enabled_;
663 bool is_gpu_rasterization_forced_; 671 bool is_gpu_rasterization_forced_;
664 bool is_async_worker_context_enabled_; 672 bool is_async_worker_context_enabled_;
665 int gpu_rasterization_msaa_sample_count_; 673 int gpu_rasterization_msaa_sample_count_;
666 bool is_lcd_text_enabled_; 674 bool is_lcd_text_enabled_;
667 bool is_distance_field_text_enabled_; 675 bool is_distance_field_text_enabled_;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 719 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
712 }; 720 };
713 721
714 #if defined(COMPILER_MSVC) 722 #if defined(COMPILER_MSVC)
715 #pragma warning(pop) 723 #pragma warning(pop)
716 #endif 724 #endif
717 725
718 } // namespace content 726 } // namespace content
719 727
720 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 728 #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