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 #include "webkit/plugins/ppapi/ppb_video_layer_software.h" | 5 #include "webkit/plugins/ppapi/ppb_video_layer_software.h" |
6 | 6 |
7 namespace webkit { | 7 namespace webkit { |
8 namespace ppapi { | 8 namespace ppapi { |
9 | 9 |
10 PPB_VideoLayer_Software::PPB_VideoLayer_Software(PluginInstance* instance) | 10 PPB_VideoLayer_Software::PPB_VideoLayer_Software(PP_Instance instance) |
11 : PPB_VideoLayer_Impl(instance) { | 11 : PPB_VideoLayer_Impl(instance) { |
12 } | 12 } |
13 | 13 |
14 PPB_VideoLayer_Software::~PPB_VideoLayer_Software() { | 14 PPB_VideoLayer_Software::~PPB_VideoLayer_Software() { |
15 } | 15 } |
16 | 16 |
17 void PPB_VideoLayer_Software::SetPixelFormat( | 17 void PPB_VideoLayer_Software::SetPixelFormat( |
18 PP_VideoLayerPixelFormat_Dev pixel_format) { | 18 PP_VideoLayerPixelFormat_Dev pixel_format) { |
19 } | 19 } |
20 | 20 |
21 void PPB_VideoLayer_Software::SetNativeSize(const PP_Size* size) { | 21 void PPB_VideoLayer_Software::SetNativeSize(const PP_Size* size) { |
22 } | 22 } |
23 | 23 |
24 void PPB_VideoLayer_Software::SetClipRect(const PP_Rect* clip_rect) { | 24 void PPB_VideoLayer_Software::SetClipRect(const PP_Rect* clip_rect) { |
25 } | 25 } |
26 | 26 |
27 PP_Bool PPB_VideoLayer_Software::IsReady() { | 27 PP_Bool PPB_VideoLayer_Software::IsReady() { |
28 return PP_FALSE; | 28 return PP_FALSE; |
29 } | 29 } |
30 | 30 |
31 PP_Bool PPB_VideoLayer_Software::UpdateContent(uint32_t no_of_planes, | 31 PP_Bool PPB_VideoLayer_Software::UpdateContent(uint32_t no_of_planes, |
32 const void** planes) { | 32 const void** planes) { |
33 return PP_FALSE; | 33 return PP_FALSE; |
34 } | 34 } |
35 | 35 |
36 } // namespace ppapi | 36 } // namespace ppapi |
37 } // namespace webkit | 37 } // namespace webkit |
OLD | NEW |