OLD | NEW |
1 // Copyright (c) 2011 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/shared_impl/function_group_base.h" | 10 #include "ppapi/shared_impl/function_group_base.h" |
11 #include "ppapi/thunk/resource_creation_api.h" | 11 #include "ppapi/thunk/resource_creation_api.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 PP_Var character_text) OVERRIDE; | 80 PP_Var character_text) OVERRIDE; |
81 virtual PP_Resource CreateMouseInputEvent( | 81 virtual PP_Resource CreateMouseInputEvent( |
82 PP_Instance instance, | 82 PP_Instance instance, |
83 PP_InputEvent_Type type, | 83 PP_InputEvent_Type type, |
84 PP_TimeTicks time_stamp, | 84 PP_TimeTicks time_stamp, |
85 uint32_t modifiers, | 85 uint32_t modifiers, |
86 PP_InputEvent_MouseButton mouse_button, | 86 PP_InputEvent_MouseButton mouse_button, |
87 const PP_Point* mouse_position, | 87 const PP_Point* mouse_position, |
88 int32_t click_count, | 88 int32_t click_count, |
89 const PP_Point* mouse_movement) OVERRIDE; | 89 const PP_Point* mouse_movement) OVERRIDE; |
| 90 virtual PP_Resource CreateResourceArray(PP_Instance instance, |
| 91 const PP_Resource elements[], |
| 92 uint32_t size) OVERRIDE; |
90 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 93 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
91 PP_Bool vertical) OVERRIDE; | 94 PP_Bool vertical) OVERRIDE; |
92 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; | 95 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; |
93 virtual PP_Resource CreateTransport(PP_Instance instance, | 96 virtual PP_Resource CreateTransport(PP_Instance instance, |
94 const char* name, | 97 const char* name, |
95 PP_TransportType type) OVERRIDE; | 98 PP_TransportType type) OVERRIDE; |
96 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; | 99 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; |
97 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; | 100 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; |
98 virtual PP_Resource CreateURLRequestInfo( | 101 virtual PP_Resource CreateURLRequestInfo( |
99 PP_Instance instance, | 102 PP_Instance instance, |
(...skipping 15 matching lines...) Expand all Loading... |
115 PP_Bool scroll_by_page) OVERRIDE; | 118 PP_Bool scroll_by_page) OVERRIDE; |
116 | 119 |
117 private: | 120 private: |
118 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 121 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
119 }; | 122 }; |
120 | 123 |
121 } // namespace ppapi | 124 } // namespace ppapi |
122 } // namespace webkit | 125 } // namespace webkit |
123 | 126 |
124 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 127 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |