Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(595)

Side by Side Diff: ppapi/proxy/resource_creation_proxy.h

Issue 16605006: Clean up Pepper ImageData resource class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add NOTREACHED if creating PlatformImageData in NaCl. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.cc ('k') | ppapi/proxy/resource_creation_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.cc ('k') | ppapi/proxy/resource_creation_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698