| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 93 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 94 PP_Bool vertical) OVERRIDE; | 94 PP_Bool vertical) OVERRIDE; |
| 95 virtual PP_Resource CreateSurface3D(PP_Instance instance, | 95 virtual PP_Resource CreateSurface3D(PP_Instance instance, |
| 96 PP_Config3D_Dev config, | 96 PP_Config3D_Dev config, |
| 97 const int32_t* attrib_list) OVERRIDE; | 97 const int32_t* attrib_list) OVERRIDE; |
| 98 virtual PP_Resource CreateTransport(PP_Instance instance, | 98 virtual PP_Resource CreateTransport(PP_Instance instance, |
| 99 const char* name, | 99 const char* name, |
| 100 const char* proto) OVERRIDE; | 100 const char* proto) OVERRIDE; |
| 101 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; | 101 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; |
| 102 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) OVERRIDE; | 102 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) OVERRIDE; |
| 103 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) OVERRIDE; | 103 virtual PP_Resource CreateVideoDecoder( |
| 104 PP_Instance instance, |
| 105 PP_Resource context3d_id, |
| 106 const PP_VideoConfigElement* config) OVERRIDE; |
| 104 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 107 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
| 105 PP_VideoLayerMode_Dev mode) OVERRIDE; | 108 PP_VideoLayerMode_Dev mode) OVERRIDE; |
| 106 virtual PP_Resource CreateWheelInputEvent( | 109 virtual PP_Resource CreateWheelInputEvent( |
| 107 PP_Instance instance, | 110 PP_Instance instance, |
| 108 PP_TimeTicks time_stamp, | 111 PP_TimeTicks time_stamp, |
| 109 uint32_t modifiers, | 112 uint32_t modifiers, |
| 110 const PP_FloatPoint* wheel_delta, | 113 const PP_FloatPoint* wheel_delta, |
| 111 const PP_FloatPoint* wheel_ticks, | 114 const PP_FloatPoint* wheel_ticks, |
| 112 PP_Bool scroll_by_page) OVERRIDE; | 115 PP_Bool scroll_by_page) OVERRIDE; |
| 113 | 116 |
| 114 private: | 117 private: |
| 115 PluginInstance* instance_; | 118 PluginInstance* instance_; |
| 116 | 119 |
| 117 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 120 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
| 118 }; | 121 }; |
| 119 | 122 |
| 120 } // namespace ppapi | 123 } // namespace ppapi |
| 121 } // namespace webkit | 124 } // namespace webkit |
| 122 | 125 |
| 123 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 126 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
| OLD | NEW |