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 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 PP_Bool is_always_opaque) OVERRIDE; | 111 PP_Bool is_always_opaque) OVERRIDE; |
112 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 112 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
113 PP_Resource share_context, | 113 PP_Resource share_context, |
114 const int32_t* attrib_list) OVERRIDE; | 114 const int32_t* attrib_list) OVERRIDE; |
115 virtual PP_Resource CreateGraphics3DRaw( | 115 virtual PP_Resource CreateGraphics3DRaw( |
116 PP_Instance instance, | 116 PP_Instance instance, |
117 PP_Resource share_context, | 117 PP_Resource share_context, |
118 const int32_t* attrib_list) OVERRIDE; | 118 const int32_t* attrib_list) OVERRIDE; |
119 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; | 119 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; |
120 virtual PP_Resource CreateImageData(PP_Instance instance, | 120 virtual PP_Resource CreateImageData(PP_Instance instance, |
| 121 PPB_ImageData_Shared::ImageDataType type, |
121 PP_ImageDataFormat format, | 122 PP_ImageDataFormat format, |
122 const PP_Size* size, | 123 const PP_Size* size, |
123 PP_Bool init_to_zero) OVERRIDE; | 124 PP_Bool init_to_zero) OVERRIDE; |
124 virtual PP_Resource CreateImageDataNaCl(PP_Instance instance, | |
125 PP_ImageDataFormat format, | |
126 const PP_Size* size, | |
127 PP_Bool init_to_zero) OVERRIDE; | |
128 virtual PP_Resource CreateNetAddressFromIPv4Address( | 125 virtual PP_Resource CreateNetAddressFromIPv4Address( |
129 PP_Instance instance, | 126 PP_Instance instance, |
130 const PP_NetAddress_IPv4_Dev* ipv4_addr) OVERRIDE; | 127 const PP_NetAddress_IPv4_Dev* ipv4_addr) OVERRIDE; |
131 virtual PP_Resource CreateNetAddressFromIPv6Address( | 128 virtual PP_Resource CreateNetAddressFromIPv6Address( |
132 PP_Instance instance, | 129 PP_Instance instance, |
133 const PP_NetAddress_IPv6_Dev* ipv6_addr) OVERRIDE; | 130 const PP_NetAddress_IPv6_Dev* ipv6_addr) OVERRIDE; |
134 virtual PP_Resource CreateNetworkMonitor( | 131 virtual PP_Resource CreateNetworkMonitor( |
135 PP_Instance instance, | 132 PP_Instance instance, |
136 PPB_NetworkMonitor_Callback callback, | 133 PPB_NetworkMonitor_Callback callback, |
137 void* user_data) OVERRIDE; | 134 void* user_data) OVERRIDE; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 173 |
177 private: | 174 private: |
178 Connection GetConnection(); | 175 Connection GetConnection(); |
179 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 176 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
180 }; | 177 }; |
181 | 178 |
182 } // namespace proxy | 179 } // namespace proxy |
183 } // namespace ppapi | 180 } // namespace ppapi |
184 | 181 |
185 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 182 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |