| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GLUE_PLUGINS_PEPPER_VIDEO_DECODER_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_VIDEO_DECODER_H_ |
| 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_VIDEO_DECODER_H_ | 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_VIDEO_DECODER_H_ |
| 7 | 7 |
| 8 #include <queue> | |
| 9 | |
| 10 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 11 #include "third_party/ppapi/c/pp_video.h" | 9 #include "third_party/ppapi/c/pp_video.h" |
| 12 #include "third_party/ppapi/c/ppb_video_decoder.h" | 10 #include "third_party/ppapi/c/ppb_video_decoder.h" |
| 13 #include "webkit/glue/plugins/pepper_plugin_delegate.h" | 11 #include "webkit/glue/plugins/pepper_plugin_delegate.h" |
| 14 #include "webkit/glue/plugins/pepper_resource.h" | 12 #include "webkit/glue/plugins/pepper_resource.h" |
| 15 | 13 |
| 16 namespace pepper { | 14 namespace pepper { |
| 17 | 15 |
| 18 class PluginInstance; | 16 class PluginInstance; |
| 19 | 17 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 40 private: | 38 private: |
| 41 // This is NULL before initialization, and if this VideoDecoder is | 39 // This is NULL before initialization, and if this VideoDecoder is |
| 42 // swapped with another. | 40 // swapped with another. |
| 43 scoped_ptr<PluginDelegate::PlatformVideoDecoder> platform_video_decoder_; | 41 scoped_ptr<PluginDelegate::PlatformVideoDecoder> platform_video_decoder_; |
| 44 scoped_refptr<PluginInstance> instance_; | 42 scoped_refptr<PluginInstance> instance_; |
| 45 }; | 43 }; |
| 46 | 44 |
| 47 } // namespace pepper | 45 } // namespace pepper |
| 48 | 46 |
| 49 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_VIDEO_DECODER_H_ | 47 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_VIDEO_DECODER_H_ |
| OLD | NEW |