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

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: 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
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 CreateNetworkMonitor( 125 virtual PP_Resource CreateNetworkMonitor(
129 PP_Instance instance, 126 PP_Instance instance,
130 PPB_NetworkMonitor_Callback callback, 127 PPB_NetworkMonitor_Callback callback,
131 void* user_data) OVERRIDE; 128 void* user_data) OVERRIDE;
132 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE; 129 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE;
133 virtual PP_Resource CreateTCPServerSocketPrivate( 130 virtual PP_Resource CreateTCPServerSocketPrivate(
134 PP_Instance instance) OVERRIDE; 131 PP_Instance instance) OVERRIDE;
135 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; 132 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE;
136 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; 133 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE;
137 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; 134 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 167
171 private: 168 private:
172 Connection GetConnection(); 169 Connection GetConnection();
173 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 170 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
174 }; 171 };
175 172
176 } // namespace proxy 173 } // namespace proxy
177 } // namespace ppapi 174 } // namespace ppapi
178 175
179 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 176 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698