| 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_RESOURCE_CREATION_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "ppapi/shared_impl/function_group_base.h" | 10 #include "ppapi/shared_impl/function_group_base.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 virtual PP_Resource CreateFontObject( | 60 virtual PP_Resource CreateFontObject( |
| 61 PP_Instance instance, | 61 PP_Instance instance, |
| 62 const PP_FontDescription_Dev* description) OVERRIDE; | 62 const PP_FontDescription_Dev* description) OVERRIDE; |
| 63 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 63 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
| 64 const PP_Size& size, | 64 const PP_Size& size, |
| 65 PP_Bool is_always_opaque) OVERRIDE; | 65 PP_Bool is_always_opaque) OVERRIDE; |
| 66 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 66 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
| 67 PP_Config3D_Dev config, | 67 PP_Config3D_Dev config, |
| 68 PP_Resource share_context, | 68 PP_Resource share_context, |
| 69 const int32_t* attrib_list) OVERRIDE; | 69 const int32_t* attrib_list) OVERRIDE; |
| 70 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | |
| 71 PP_Config3D_Dev config, | |
| 72 PP_Resource share_context, | |
| 73 const int32_t* attrib_list) OVERRIDE; | |
| 74 virtual PP_Resource CreateImageData(PP_Instance instance, | 70 virtual PP_Resource CreateImageData(PP_Instance instance, |
| 75 PP_ImageDataFormat format, | 71 PP_ImageDataFormat format, |
| 76 const PP_Size& size, | 72 const PP_Size& size, |
| 77 PP_Bool init_to_zero) OVERRIDE; | 73 PP_Bool init_to_zero) OVERRIDE; |
| 78 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 74 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 79 PP_Bool vertical) OVERRIDE; | 75 PP_Bool vertical) OVERRIDE; |
| 80 virtual PP_Resource CreateSurface3D(PP_Instance instance, | 76 virtual PP_Resource CreateSurface3D(PP_Instance instance, |
| 81 PP_Config3D_Dev config, | 77 PP_Config3D_Dev config, |
| 82 const int32_t* attrib_list) OVERRIDE; | 78 const int32_t* attrib_list) OVERRIDE; |
| 83 virtual PP_Resource CreateTransport(PP_Instance instance, | 79 virtual PP_Resource CreateTransport(PP_Instance instance, |
| 84 const char* name, | 80 const char* name, |
| 85 const char* proto) OVERRIDE; | 81 const char* proto) OVERRIDE; |
| 86 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; | 82 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; |
| 87 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) OVERRIDE; | 83 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) OVERRIDE; |
| 88 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) OVERRIDE; | 84 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) OVERRIDE; |
| 89 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 85 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
| 90 PP_VideoLayerMode_Dev mode) OVERRIDE; | 86 PP_VideoLayerMode_Dev mode) OVERRIDE; |
| 91 | 87 |
| 92 private: | 88 private: |
| 93 PluginInstance* instance_; | 89 PluginInstance* instance_; |
| 94 | 90 |
| 95 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 91 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
| 96 }; | 92 }; |
| 97 | 93 |
| 98 } // namespace ppapi | 94 } // namespace ppapi |
| 99 } // namespace webkit | 95 } // namespace webkit |
| 100 | 96 |
| 101 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 97 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
| OLD | NEW |