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 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" |
11 #include "ipc/ipc_channel.h" | 11 #include "ipc/ipc_channel.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 PP_Var character_text) OVERRIDE; | 93 PP_Var character_text) OVERRIDE; |
94 virtual PP_Resource CreateMouseInputEvent( | 94 virtual PP_Resource CreateMouseInputEvent( |
95 PP_Instance instance, | 95 PP_Instance instance, |
96 PP_InputEvent_Type type, | 96 PP_InputEvent_Type type, |
97 PP_TimeTicks time_stamp, | 97 PP_TimeTicks time_stamp, |
98 uint32_t modifiers, | 98 uint32_t modifiers, |
99 PP_InputEvent_MouseButton mouse_button, | 99 PP_InputEvent_MouseButton mouse_button, |
100 const PP_Point* mouse_position, | 100 const PP_Point* mouse_position, |
101 int32_t click_count, | 101 int32_t click_count, |
102 const PP_Point* mouse_movement) OVERRIDE; | 102 const PP_Point* mouse_movement) OVERRIDE; |
| 103 virtual PP_Resource CreateResourceArray(PP_Instance instance, |
| 104 const PP_Resource elements[], |
| 105 uint32_t size) OVERRIDE; |
103 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 106 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
104 PP_Bool vertical) OVERRIDE; | 107 PP_Bool vertical) OVERRIDE; |
105 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; | 108 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; |
106 virtual PP_Resource CreateTransport(PP_Instance instance, | 109 virtual PP_Resource CreateTransport(PP_Instance instance, |
107 const char* name, | 110 const char* name, |
108 PP_TransportType type) OVERRIDE; | 111 PP_TransportType type) OVERRIDE; |
109 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; | 112 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; |
110 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; | 113 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; |
111 virtual PP_Resource CreateURLRequestInfo( | 114 virtual PP_Resource CreateURLRequestInfo( |
112 PP_Instance instance, | 115 PP_Instance instance, |
(...skipping 18 matching lines...) Expand all Loading... |
131 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 134 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
132 | 135 |
133 private: | 136 private: |
134 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 137 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
135 }; | 138 }; |
136 | 139 |
137 } // namespace proxy | 140 } // namespace proxy |
138 } // namespace ppapi | 141 } // namespace ppapi |
139 | 142 |
140 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 143 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |