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