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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 const PP_FontDescription_Dev* description) OVERRIDE; | 64 const PP_FontDescription_Dev* description) OVERRIDE; |
65 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 65 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
66 const PP_Size& size, | 66 const PP_Size& size, |
67 PP_Bool is_always_opaque) OVERRIDE; | 67 PP_Bool is_always_opaque) OVERRIDE; |
68 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 68 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
69 PP_Resource share_context, | 69 PP_Resource share_context, |
70 const int32_t* attrib_list) OVERRIDE; | 70 const int32_t* attrib_list) OVERRIDE; |
71 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 71 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
72 PP_Resource share_context, | 72 PP_Resource share_context, |
73 const int32_t* attrib_list) OVERRIDE; | 73 const int32_t* attrib_list) OVERRIDE; |
| 74 virtual PP_Resource CreateHello(PP_Instance instance) OVERRIDE; |
74 virtual PP_Resource CreateImageData(PP_Instance instance, | 75 virtual PP_Resource CreateImageData(PP_Instance instance, |
75 PP_ImageDataFormat format, | 76 PP_ImageDataFormat format, |
76 const PP_Size& size, | 77 const PP_Size& size, |
77 PP_Bool init_to_zero) OVERRIDE; | 78 PP_Bool init_to_zero) OVERRIDE; |
78 virtual PP_Resource CreateKeyboardInputEvent( | 79 virtual PP_Resource CreateKeyboardInputEvent( |
79 PP_Instance instance, | 80 PP_Instance instance, |
80 PP_InputEvent_Type type, | 81 PP_InputEvent_Type type, |
81 PP_TimeTicks time_stamp, | 82 PP_TimeTicks time_stamp, |
82 uint32_t modifiers, | 83 uint32_t modifiers, |
83 uint32_t key_code, | 84 uint32_t key_code, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 PP_Bool scroll_by_page) OVERRIDE; | 120 PP_Bool scroll_by_page) OVERRIDE; |
120 | 121 |
121 private: | 122 private: |
122 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 123 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
123 }; | 124 }; |
124 | 125 |
125 } // namespace ppapi | 126 } // namespace ppapi |
126 } // namespace webkit | 127 } // namespace webkit |
127 | 128 |
128 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 129 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |