| 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" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "ppapi/c/dev/pp_video_dev.h" | 13 #include "ppapi/c/dev/pp_video_dev.h" |
| 14 #include "ppapi/c/dev/ppp_video_decoder_dev.h" |
| 14 #include "ppapi/c/pp_var.h" | 15 #include "ppapi/c/pp_var.h" |
| 15 #include "ppapi/shared_impl/ppb_video_decoder_shared.h" | 16 #include "ppapi/shared_impl/ppb_video_decoder_shared.h" |
| 16 #include "ppapi/shared_impl/resource.h" | 17 #include "ppapi/shared_impl/resource.h" |
| 17 #include "ppapi/thunk/ppb_video_decoder_api.h" | 18 #include "ppapi/thunk/ppb_video_decoder_api.h" |
| 18 #include "webkit/plugins/ppapi/plugin_delegate.h" | 19 #include "webkit/plugins/ppapi/plugin_delegate.h" |
| 19 | 20 |
| 20 struct PP_PictureBuffer_Dev; | 21 struct PP_PictureBuffer_Dev; |
| 21 struct PP_VideoBitstreamBuffer_Dev; | 22 struct PP_VideoBitstreamBuffer_Dev; |
| 22 struct PPB_VideoDecoder_Dev; | |
| 23 struct PPP_VideoDecoder_Dev; | |
| 24 | 23 |
| 25 namespace gpu { | 24 namespace gpu { |
| 26 namespace gles2 { | 25 namespace gles2 { |
| 27 class GLES2Implementation; | 26 class GLES2Implementation; |
| 28 } // namespace gles2 | 27 } // namespace gles2 |
| 29 } // namespace gpu | 28 } // namespace gpu |
| 30 | 29 |
| 31 namespace webkit { | 30 namespace webkit { |
| 32 namespace ppapi { | 31 namespace ppapi { |
| 33 | 32 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 // Reference to the plugin requesting this interface. | 77 // Reference to the plugin requesting this interface. |
| 79 const PPP_VideoDecoder_Dev* ppp_videodecoder_; | 78 const PPP_VideoDecoder_Dev* ppp_videodecoder_; |
| 80 | 79 |
| 81 DISALLOW_COPY_AND_ASSIGN(PPB_VideoDecoder_Impl); | 80 DISALLOW_COPY_AND_ASSIGN(PPB_VideoDecoder_Impl); |
| 82 }; | 81 }; |
| 83 | 82 |
| 84 } // namespace ppapi | 83 } // namespace ppapi |
| 85 } // namespace webkit | 84 } // namespace webkit |
| 86 | 85 |
| 87 #endif // WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_ | 86 #endif // WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_DECODER_IMPL_H_ |
| OLD | NEW |