| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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_PEPPER_PEPPER_VIDEO_DECODER_HOST_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DECODER_HOST_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DECODER_HOST_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DECODER_HOST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "ppapi/host/host_message_context.h" | 22 #include "ppapi/host/host_message_context.h" |
| 23 #include "ppapi/host/resource_host.h" | 23 #include "ppapi/host/resource_host.h" |
| 24 #include "ppapi/proxy/resource_message_params.h" | 24 #include "ppapi/proxy/resource_message_params.h" |
| 25 | 25 |
| 26 namespace base { | 26 namespace base { |
| 27 class SharedMemory; | 27 class SharedMemory; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace content { | 30 namespace content { |
| 31 | 31 |
| 32 class PPB_Graphics3D_Impl; | |
| 33 class RendererPpapiHost; | 32 class RendererPpapiHost; |
| 34 class RenderViewImpl; | |
| 35 class VideoDecoderShim; | 33 class VideoDecoderShim; |
| 36 | 34 |
| 37 class CONTENT_EXPORT PepperVideoDecoderHost | 35 class CONTENT_EXPORT PepperVideoDecoderHost |
| 38 : public ppapi::host::ResourceHost, | 36 : public ppapi::host::ResourceHost, |
| 39 public media::VideoDecodeAccelerator::Client { | 37 public media::VideoDecodeAccelerator::Client { |
| 40 public: | 38 public: |
| 41 PepperVideoDecoderHost(RendererPpapiHost* host, | 39 PepperVideoDecoderHost(RendererPpapiHost* host, |
| 42 PP_Instance instance, | 40 PP_Instance instance, |
| 43 PP_Resource resource); | 41 PP_Resource resource); |
| 44 ~PepperVideoDecoderHost() override; | 42 ~PepperVideoDecoderHost() override; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 ppapi::host::ReplyMessageContext reset_reply_context_; | 145 ppapi::host::ReplyMessageContext reset_reply_context_; |
| 148 | 146 |
| 149 bool initialized_ = false; | 147 bool initialized_ = false; |
| 150 | 148 |
| 151 DISALLOW_COPY_AND_ASSIGN(PepperVideoDecoderHost); | 149 DISALLOW_COPY_AND_ASSIGN(PepperVideoDecoderHost); |
| 152 }; | 150 }; |
| 153 | 151 |
| 154 } // namespace content | 152 } // namespace content |
| 155 | 153 |
| 156 #endif // CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DECODER_HOST_H_ | 154 #endif // CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DECODER_HOST_H_ |
| OLD | NEW |