| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 struct PP_VideoBitstreamBuffer_Dev; | 22 struct PP_VideoBitstreamBuffer_Dev; |
| 23 struct PPB_VideoDecoder_Dev; | 23 struct PPB_VideoDecoder_Dev; |
| 24 struct PPP_VideoDecoder_Dev; | 24 struct PPP_VideoDecoder_Dev; |
| 25 | 25 |
| 26 namespace gpu { | 26 namespace gpu { |
| 27 namespace gles2 { | 27 namespace gles2 { |
| 28 class GLES2Implementation; | 28 class GLES2Implementation; |
| 29 } // namespace gles2 | 29 } // namespace gles2 |
| 30 } // namespace gpu | 30 } // namespace gpu |
| 31 | 31 |
| 32 namespace ppapi { | |
| 33 namespace thunk { | |
| 34 class PPB_Context3D_API; | |
| 35 } // namespace thunk | |
| 36 } // namespace ppapi | |
| 37 | |
| 38 | |
| 39 namespace webkit { | 32 namespace webkit { |
| 40 namespace ppapi { | 33 namespace ppapi { |
| 41 | 34 |
| 42 class PPB_VideoDecoder_Impl : public ::ppapi::Resource, | 35 class PPB_VideoDecoder_Impl : public ::ppapi::Resource, |
| 43 public ::ppapi::VideoDecoderImpl, | 36 public ::ppapi::VideoDecoderImpl, |
| 44 public media::VideoDecodeAccelerator::Client { | 37 public media::VideoDecodeAccelerator::Client { |
| 45 public: | 38 public: |
| 46 virtual ~PPB_VideoDecoder_Impl(); | 39 virtual ~PPB_VideoDecoder_Impl(); |
| 47 // See PPB_VideoDecoder_Dev::Create. Returns 0 on failure to create & | 40 // See PPB_VideoDecoder_Dev::Create. Returns 0 on failure to create & |
| 48 // initialize. | 41 // initialize. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 // Reference to the plugin requesting this interface. | 83 // Reference to the plugin requesting this interface. |
| 91 const PPP_VideoDecoder_Dev* ppp_videodecoder_; | 84 const PPP_VideoDecoder_Dev* ppp_videodecoder_; |
| 92 | 85 |
| 93 DISALLOW_COPY_AND_ASSIGN(PPB_VideoDecoder_Impl); | 86 DISALLOW_COPY_AND_ASSIGN(PPB_VideoDecoder_Impl); |
| 94 }; | 87 }; |
| 95 | 88 |
| 96 } // namespace ppapi | 89 } // namespace ppapi |
| 97 } // namespace webkit | 90 } // namespace webkit |
| 98 | 91 |
| 99 #endif // WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_ | 92 #endif // WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_ |
| OLD | NEW |