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

Side by Side Diff: src/shared/ppapi_proxy/plugin_image_data.h

Issue 4210003: Started on Resource class. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Resource->PluginResource Created 10 years, 1 month 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 /* 1 /*
2 * Copyright 2010 The Native Client Authors. All rights reserved. 2 * Copyright 2010 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_IMAGE_DATA_H_ 7 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_IMAGE_DATA_H_
8 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_IMAGE_DATA_H_ 8 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_IMAGE_DATA_H_
9 9
10 #include "native_client/src/include/nacl_macros.h" 10 #include "native_client/src/include/nacl_macros.h"
11 #include "native_client/src/shared/ppapi_proxy/plugin_resource.h"
11 #include "ppapi/c/ppb_image_data.h" 12 #include "ppapi/c/ppb_image_data.h"
12 13
13 namespace ppapi_proxy { 14 namespace ppapi_proxy {
14 15
15 // Implements the plugin (i.e., .nexe) side of the PPB_ImageData interface. 16 // Implements the plugin (i.e., .nexe) side of the PPB_ImageData interface.
16 class PluginImageData { 17 class PluginImageData : public PluginResource {
17 public: 18 public:
18 static const PPB_ImageData* GetInterface(); 19 static const PPB_ImageData* GetInterface();
19
20 private: 20 private:
21 IMPLEMENT_RESOURCE(PluginImageData);
21 NACL_DISALLOW_COPY_AND_ASSIGN(PluginImageData); 22 NACL_DISALLOW_COPY_AND_ASSIGN(PluginImageData);
22 }; 23 };
23 24
24 } // namespace ppapi_proxy 25 } // namespace ppapi_proxy
25 26
26 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_IMAGE_DATA_H_ 27 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_IMAGE_DATA_H_
OLDNEW
« no previous file with comments | « src/shared/ppapi_proxy/plugin_graphics_3d.cc ('k') | src/shared/ppapi_proxy/plugin_image_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698