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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 PP_Resource share_context, | 60 PP_Resource share_context, |
61 const int32_t* attrib_list) OVERRIDE; | 61 const int32_t* attrib_list) OVERRIDE; |
62 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 62 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
63 PP_Resource share_context, | 63 PP_Resource share_context, |
64 const int32_t* attrib_list) OVERRIDE; | 64 const int32_t* attrib_list) OVERRIDE; |
65 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; | 65 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; |
66 virtual PP_Resource CreateImageData(PP_Instance instance, | 66 virtual PP_Resource CreateImageData(PP_Instance instance, |
67 PP_ImageDataFormat format, | 67 PP_ImageDataFormat format, |
68 const PP_Size& size, | 68 const PP_Size& size, |
69 PP_Bool init_to_zero) OVERRIDE; | 69 PP_Bool init_to_zero) OVERRIDE; |
| 70 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, |
| 71 PP_InputEvent_Type type, |
| 72 PP_TimeTicks time_stamp, |
| 73 struct PP_Var text, |
| 74 uint32_t segment_number, |
| 75 const uint32_t* segment_offsets, |
| 76 int32_t target_segment, |
| 77 uint32_t selection_start, |
| 78 uint32_t selection_end) OVERRIDE; |
70 virtual PP_Resource CreateKeyboardInputEvent( | 79 virtual PP_Resource CreateKeyboardInputEvent( |
71 PP_Instance instance, | 80 PP_Instance instance, |
72 PP_InputEvent_Type type, | 81 PP_InputEvent_Type type, |
73 PP_TimeTicks time_stamp, | 82 PP_TimeTicks time_stamp, |
74 uint32_t modifiers, | 83 uint32_t modifiers, |
75 uint32_t key_code, | 84 uint32_t key_code, |
76 PP_Var character_text) OVERRIDE; | 85 PP_Var character_text) OVERRIDE; |
77 virtual PP_Resource CreateMouseInputEvent( | 86 virtual PP_Resource CreateMouseInputEvent( |
78 PP_Instance instance, | 87 PP_Instance instance, |
79 PP_InputEvent_Type type, | 88 PP_InputEvent_Type type, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 PP_Instance instance) OVERRIDE; | 133 PP_Instance instance) OVERRIDE; |
125 | 134 |
126 private: | 135 private: |
127 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 136 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
128 }; | 137 }; |
129 | 138 |
130 } // namespace ppapi | 139 } // namespace ppapi |
131 } // namespace webkit | 140 } // namespace webkit |
132 | 141 |
133 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 142 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |