| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_ACCELERATOR_FACTORIES_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ | 6 #define CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "base/synchronization/waitable_event.h" | 17 #include "base/synchronization/waitable_event.h" |
| 18 #include "base/unguessable_token.h" | 18 #include "base/unguessable_token.h" |
| 19 #include "cc/output/buffer_to_texture_target_map.h" | 19 #include "cc/output/buffer_to_texture_target_map.h" |
| 20 #include "content/child/thread_safe_sender.h" | 20 #include "content/child/thread_safe_sender.h" |
| 21 #include "content/common/content_export.h" | 21 #include "content/common/content_export.h" |
| 22 #include "media/renderers/gpu_video_accelerator_factories.h" | 22 #include "media/renderers/gpu_video_accelerator_factories.h" |
| 23 #include "ui/gfx/geometry/size.h" | 23 #include "ui/gfx/geometry/size.h" |
| 24 | 24 |
| 25 namespace base { | |
| 26 class WaitableEvent; | |
| 27 } | |
| 28 | |
| 29 namespace gpu { | 25 namespace gpu { |
| 30 class GpuChannelHost; | 26 class GpuChannelHost; |
| 31 class GpuMemoryBufferManager; | 27 class GpuMemoryBufferManager; |
| 32 } | 28 } |
| 33 | 29 |
| 34 namespace content { | 30 namespace content { |
| 35 class ContextProviderCommandBuffer; | 31 class ContextProviderCommandBuffer; |
| 36 | 32 |
| 37 // Glue code to expose functionality needed by media::GpuVideoAccelerator to | 33 // Glue code to expose functionality needed by media::GpuVideoAccelerator to |
| 38 // RenderViewImpl. This class is entirely an implementation detail of | 34 // RenderViewImpl. This class is entirely an implementation detail of |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 129 |
| 134 // For sending requests to allocate shared memory in the Browser process. | 130 // For sending requests to allocate shared memory in the Browser process. |
| 135 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 131 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 136 | 132 |
| 137 DISALLOW_COPY_AND_ASSIGN(RendererGpuVideoAcceleratorFactories); | 133 DISALLOW_COPY_AND_ASSIGN(RendererGpuVideoAcceleratorFactories); |
| 138 }; | 134 }; |
| 139 | 135 |
| 140 } // namespace content | 136 } // namespace content |
| 141 | 137 |
| 142 #endif // CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ | 138 #endif // CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ |
| OLD | NEW |