| 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 CreateVideoCapture(PP_Instance instance) OVERRIDE; |
| 103 virtual PP_Resource CreateVideoDecoder( | 104 virtual PP_Resource CreateVideoDecoder( |
| 104 PP_Instance instance, | 105 PP_Instance instance, |
| 105 PP_Resource context3d_id, | 106 PP_Resource context3d_id, |
| 106 const PP_VideoConfigElement* config) OVERRIDE; | 107 const PP_VideoConfigElement* config) OVERRIDE; |
| 107 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 108 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
| 108 PP_VideoLayerMode_Dev mode) OVERRIDE; | 109 PP_VideoLayerMode_Dev mode) OVERRIDE; |
| 109 virtual PP_Resource CreateWheelInputEvent( | 110 virtual PP_Resource CreateWheelInputEvent( |
| 110 PP_Instance instance, | 111 PP_Instance instance, |
| 111 PP_TimeTicks time_stamp, | 112 PP_TimeTicks time_stamp, |
| 112 uint32_t modifiers, | 113 uint32_t modifiers, |
| 113 const PP_FloatPoint* wheel_delta, | 114 const PP_FloatPoint* wheel_delta, |
| 114 const PP_FloatPoint* wheel_ticks, | 115 const PP_FloatPoint* wheel_ticks, |
| 115 PP_Bool scroll_by_page) OVERRIDE; | 116 PP_Bool scroll_by_page) OVERRIDE; |
| 116 | 117 |
| 117 private: | 118 private: |
| 118 PluginInstance* instance_; | 119 PluginInstance* instance_; |
| 119 | 120 |
| 120 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 121 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
| 121 }; | 122 }; |
| 122 | 123 |
| 123 } // namespace ppapi | 124 } // namespace ppapi |
| 124 } // namespace webkit | 125 } // namespace webkit |
| 125 | 126 |
| 126 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 127 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
| OLD | NEW |