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

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

Issue 1589463002: compositor worker: Use a WebThread for the compositor thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: self.nit Created 4 years, 11 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 | « content/child/blink_platform_impl.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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 593
594 // The message loop of the renderer main thread. 594 // The message loop of the renderer main thread.
595 // This message loop should be destructed before the RenderThreadImpl 595 // This message loop should be destructed before the RenderThreadImpl
596 // shuts down Blink. 596 // shuts down Blink.
597 scoped_ptr<base::MessageLoop> main_message_loop_; 597 scoped_ptr<base::MessageLoop> main_message_loop_;
598 598
599 // A lazily initiated thread on which file operations are run. 599 // A lazily initiated thread on which file operations are run.
600 scoped_ptr<base::Thread> file_thread_; 600 scoped_ptr<base::Thread> file_thread_;
601 601
602 // May be null if overridden by ContentRendererClient. 602 // May be null if overridden by ContentRendererClient.
603 scoped_ptr<base::Thread> compositor_thread_; 603 scoped_ptr<scheduler::WebThreadBase> compositor_thread_;
604 604
605 // Utility class to provide GPU functionalities to media. 605 // Utility class to provide GPU functionalities to media.
606 scoped_ptr<content::RendererGpuVideoAcceleratorFactories> gpu_factories_; 606 scoped_ptr<content::RendererGpuVideoAcceleratorFactories> gpu_factories_;
607 607
608 // Thread for running multimedia operations (e.g., video decoding). 608 // Thread for running multimedia operations (e.g., video decoding).
609 scoped_ptr<base::Thread> media_thread_; 609 scoped_ptr<base::Thread> media_thread_;
610 610
611 // Will point to appropriate task runner after initialization, 611 // Will point to appropriate task runner after initialization,
612 // regardless of whether |compositor_thread_| is overriden. 612 // regardless of whether |compositor_thread_| is overriden.
613 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; 613 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 698 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
699 }; 699 };
700 700
701 #if defined(COMPILER_MSVC) 701 #if defined(COMPILER_MSVC)
702 #pragma warning(pop) 702 #pragma warning(pop)
703 #endif 703 #endif
704 704
705 } // namespace content 705 } // namespace content
706 706
707 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 707 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698