| 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 #endif | 325 #endif |
| 326 | 326 |
| 327 VideoCaptureImplManager* video_capture_impl_manager() const { | 327 VideoCaptureImplManager* video_capture_impl_manager() const { |
| 328 return vc_manager_.get(); | 328 return vc_manager_.get(); |
| 329 } | 329 } |
| 330 | 330 |
| 331 // Get the GPU channel. Returns NULL if the channel is not established or | 331 // Get the GPU channel. Returns NULL if the channel is not established or |
| 332 // has been lost. | 332 // has been lost. |
| 333 GpuChannelHost* GetGpuChannel(); | 333 GpuChannelHost* GetGpuChannel(); |
| 334 | 334 |
| 335 // Send a sync message to the browser process to know whether a gpu process is |
| 336 // alive. |
| 337 bool HasGpuProcess(); |
| 338 |
| 335 // Returns a SingleThreadTaskRunner instance corresponding to the message loop | 339 // Returns a SingleThreadTaskRunner instance corresponding to the message loop |
| 336 // of the thread on which file operations should be run. Must be called | 340 // of the thread on which file operations should be run. Must be called |
| 337 // on the renderer's main thread. | 341 // on the renderer's main thread. |
| 338 scoped_refptr<base::SingleThreadTaskRunner> GetFileThreadMessageLoopProxy(); | 342 scoped_refptr<base::SingleThreadTaskRunner> GetFileThreadMessageLoopProxy(); |
| 339 | 343 |
| 340 // Returns a SingleThreadTaskRunner instance corresponding to the message loop | 344 // Returns a SingleThreadTaskRunner instance corresponding to the message loop |
| 341 // of the thread on which media operations should be run. Must be called | 345 // of the thread on which media operations should be run. Must be called |
| 342 // on the renderer's main thread. | 346 // on the renderer's main thread. |
| 343 scoped_refptr<base::SingleThreadTaskRunner> GetMediaThreadTaskRunner(); | 347 scoped_refptr<base::SingleThreadTaskRunner> GetMediaThreadTaskRunner(); |
| 344 | 348 |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 706 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 703 }; | 707 }; |
| 704 | 708 |
| 705 #if defined(COMPILER_MSVC) | 709 #if defined(COMPILER_MSVC) |
| 706 #pragma warning(pop) | 710 #pragma warning(pop) |
| 707 #endif | 711 #endif |
| 708 | 712 |
| 709 } // namespace content | 713 } // namespace content |
| 710 | 714 |
| 711 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 715 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |