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_MEDIA_RENDERER_GPU_VIDEO_DECODER_FACTORIES_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_DECODER_FACTORIES_H_ |
6 #define CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_DECODER_FACTORIES_H_ | 6 #define CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_DECODER_FACTORIES_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
11 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
12 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
13 #include "media/filters/gpu_video_decoder.h" | 12 #include "media/filters/gpu_video_decoder.h" |
14 #include "ui/gfx/size.h" | 13 #include "ui/gfx/size.h" |
15 | 14 |
16 class ContentGLContext; | 15 class ContentGLContext; |
17 class GpuChannelHost; | 16 class GpuChannelHost; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 void AsyncCreateSharedMemory( | 77 void AsyncCreateSharedMemory( |
79 size_t size, base::SharedMemory** shm, base::WaitableEvent* waiter); | 78 size_t size, base::SharedMemory** shm, base::WaitableEvent* waiter); |
80 | 79 |
81 MessageLoop* message_loop_; | 80 MessageLoop* message_loop_; |
82 scoped_refptr<GpuChannelHost> gpu_channel_host_; | 81 scoped_refptr<GpuChannelHost> gpu_channel_host_; |
83 base::WeakPtr<WebGraphicsContext3DCommandBufferImpl> context_; | 82 base::WeakPtr<WebGraphicsContext3DCommandBufferImpl> context_; |
84 DISALLOW_IMPLICIT_CONSTRUCTORS(RendererGpuVideoDecoderFactories); | 83 DISALLOW_IMPLICIT_CONSTRUCTORS(RendererGpuVideoDecoderFactories); |
85 }; | 84 }; |
86 | 85 |
87 #endif // CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_DECODER_FACTORIES_H_ | 86 #endif // CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_DECODER_FACTORIES_H_ |
OLD | NEW |