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 PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 const PP_FontDescription_Dev* description) OVERRIDE; | 77 const PP_FontDescription_Dev* description) OVERRIDE; |
78 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 78 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
79 const PP_Size& size, | 79 const PP_Size& size, |
80 PP_Bool is_always_opaque) OVERRIDE; | 80 PP_Bool is_always_opaque) OVERRIDE; |
81 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 81 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
82 PP_Resource share_context, | 82 PP_Resource share_context, |
83 const int32_t* attrib_list) OVERRIDE; | 83 const int32_t* attrib_list) OVERRIDE; |
84 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 84 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
85 PP_Resource share_context, | 85 PP_Resource share_context, |
86 const int32_t* attrib_list) OVERRIDE; | 86 const int32_t* attrib_list) OVERRIDE; |
| 87 virtual PP_Resource CreateHello(PP_Instance instance); |
87 virtual PP_Resource CreateImageData(PP_Instance instance, | 88 virtual PP_Resource CreateImageData(PP_Instance instance, |
88 PP_ImageDataFormat format, | 89 PP_ImageDataFormat format, |
89 const PP_Size& size, | 90 const PP_Size& size, |
90 PP_Bool init_to_zero) OVERRIDE; | 91 PP_Bool init_to_zero) OVERRIDE; |
91 virtual PP_Resource CreateKeyboardInputEvent( | 92 virtual PP_Resource CreateKeyboardInputEvent( |
92 PP_Instance instance, | 93 PP_Instance instance, |
93 PP_InputEvent_Type type, | 94 PP_InputEvent_Type type, |
94 PP_TimeTicks time_stamp, | 95 PP_TimeTicks time_stamp, |
95 uint32_t modifiers, | 96 uint32_t modifiers, |
96 uint32_t key_code, | 97 uint32_t key_code, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 std::string* image_data_desc, | 153 std::string* image_data_desc, |
153 ImageHandle* result_image_handle); | 154 ImageHandle* result_image_handle); |
154 | 155 |
155 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 156 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
156 }; | 157 }; |
157 | 158 |
158 } // namespace proxy | 159 } // namespace proxy |
159 } // namespace ppapi | 160 } // namespace ppapi |
160 | 161 |
161 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 162 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |