| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/thunk/resource_creation_api.h" | 10 #include "ppapi/thunk/resource_creation_api.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 PP_Resource share_context, | 59 PP_Resource share_context, |
| 60 const int32_t* attrib_list) OVERRIDE; | 60 const int32_t* attrib_list) OVERRIDE; |
| 61 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 61 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
| 62 PP_Resource share_context, | 62 PP_Resource share_context, |
| 63 const int32_t* attrib_list) OVERRIDE; | 63 const int32_t* attrib_list) OVERRIDE; |
| 64 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; | 64 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; |
| 65 virtual PP_Resource CreateImageData(PP_Instance instance, | 65 virtual PP_Resource CreateImageData(PP_Instance instance, |
| 66 PP_ImageDataFormat format, | 66 PP_ImageDataFormat format, |
| 67 const PP_Size& size, | 67 const PP_Size& size, |
| 68 PP_Bool init_to_zero) OVERRIDE; | 68 PP_Bool init_to_zero) OVERRIDE; |
| 69 virtual PP_Resource CreateImageDataNaCl(PP_Instance instance, |
| 70 PP_ImageDataFormat format, |
| 71 const PP_Size& size, |
| 72 PP_Bool init_to_zero) OVERRIDE; |
| 69 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, | 73 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, |
| 70 PP_InputEvent_Type type, | 74 PP_InputEvent_Type type, |
| 71 PP_TimeTicks time_stamp, | 75 PP_TimeTicks time_stamp, |
| 72 struct PP_Var text, | 76 struct PP_Var text, |
| 73 uint32_t segment_number, | 77 uint32_t segment_number, |
| 74 const uint32_t* segment_offsets, | 78 const uint32_t* segment_offsets, |
| 75 int32_t target_segment, | 79 int32_t target_segment, |
| 76 uint32_t selection_start, | 80 uint32_t selection_start, |
| 77 uint32_t selection_end) OVERRIDE; | 81 uint32_t selection_end) OVERRIDE; |
| 78 virtual PP_Resource CreateKeyboardInputEvent( | 82 virtual PP_Resource CreateKeyboardInputEvent( |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 PP_Instance instance) OVERRIDE; | 138 PP_Instance instance) OVERRIDE; |
| 135 | 139 |
| 136 private: | 140 private: |
| 137 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 141 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
| 138 }; | 142 }; |
| 139 | 143 |
| 140 } // namespace ppapi | 144 } // namespace ppapi |
| 141 } // namespace webkit | 145 } // namespace webkit |
| 142 | 146 |
| 143 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 147 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
| OLD | NEW |