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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 const PP_Flash_Menu* menu_data) OVERRIDE; | 57 const PP_Flash_Menu* menu_data) OVERRIDE; |
58 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) OVERRIDE; | 58 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) OVERRIDE; |
59 virtual PP_Resource CreateFlashTCPSocket(PP_Instance instance) OVERRIDE; | 59 virtual PP_Resource CreateFlashTCPSocket(PP_Instance instance) OVERRIDE; |
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, | |
68 PP_Resource share_context, | 67 PP_Resource share_context, |
69 const int32_t* attrib_list) OVERRIDE; | 68 const int32_t* attrib_list) OVERRIDE; |
70 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 69 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
71 PP_Config3D_Dev config, | |
72 PP_Resource share_context, | 70 PP_Resource share_context, |
73 const int32_t* attrib_list) OVERRIDE; | 71 const int32_t* attrib_list) OVERRIDE; |
74 virtual PP_Resource CreateImageData(PP_Instance instance, | 72 virtual PP_Resource CreateImageData(PP_Instance instance, |
75 PP_ImageDataFormat format, | 73 PP_ImageDataFormat format, |
76 const PP_Size& size, | 74 const PP_Size& size, |
77 PP_Bool init_to_zero) OVERRIDE; | 75 PP_Bool init_to_zero) OVERRIDE; |
78 virtual PP_Resource CreateKeyboardInputEvent( | 76 virtual PP_Resource CreateKeyboardInputEvent( |
79 PP_Instance instance, | 77 PP_Instance instance, |
80 PP_InputEvent_Type type, | 78 PP_InputEvent_Type type, |
81 PP_TimeTicks time_stamp, | 79 PP_TimeTicks time_stamp, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 private: | 115 private: |
118 PluginInstance* instance_; | 116 PluginInstance* instance_; |
119 | 117 |
120 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 118 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
121 }; | 119 }; |
122 | 120 |
123 } // namespace ppapi | 121 } // namespace ppapi |
124 } // namespace webkit | 122 } // namespace webkit |
125 | 123 |
126 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 124 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |