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 <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 Loading... |
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 Loading... |
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_ |
OLD | NEW |