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

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

Issue 8790004: Rename the shared impl files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years 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_graphics_3d_proxy.h ('k') | ppapi/proxy/ppb_instance_proxy.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PPB_IMAGE_DATA_PROXY_H_ 5 #ifndef PPAPI_PPB_IMAGE_DATA_PROXY_H_
6 #define PPAPI_PPB_IMAGE_DATA_PROXY_H_ 6 #define PPAPI_PPB_IMAGE_DATA_PROXY_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ppapi/c/pp_bool.h" 9 #include "ppapi/c/pp_bool.h"
10 #include "ppapi/c/pp_completion_callback.h" 10 #include "ppapi/c/pp_completion_callback.h"
11 #include "ppapi/c/pp_instance.h" 11 #include "ppapi/c/pp_instance.h"
12 #include "ppapi/c/pp_module.h" 12 #include "ppapi/c/pp_module.h"
13 #include "ppapi/c/pp_resource.h" 13 #include "ppapi/c/pp_resource.h"
14 #include "ppapi/c/pp_size.h" 14 #include "ppapi/c/pp_size.h"
15 #include "ppapi/c/pp_var.h" 15 #include "ppapi/c/pp_var.h"
16 #include "ppapi/proxy/interface_proxy.h" 16 #include "ppapi/proxy/interface_proxy.h"
17 #include "ppapi/proxy/serialized_structs.h" 17 #include "ppapi/proxy/serialized_structs.h"
18 #include "ppapi/shared_impl/image_data_impl.h" 18 #include "ppapi/shared_impl/ppb_image_data_shared.h"
19 #include "ppapi/shared_impl/resource.h" 19 #include "ppapi/shared_impl/resource.h"
20 #include "ppapi/thunk/ppb_image_data_api.h" 20 #include "ppapi/thunk/ppb_image_data_api.h"
21 21
22 struct PPB_ImageData; 22 struct PPB_ImageData;
23 class TransportDIB; 23 class TransportDIB;
24 24
25 namespace skia { 25 namespace skia {
26 class PlatformCanvas; 26 class PlatformCanvas;
27 } 27 }
28 28
29 namespace ppapi { 29 namespace ppapi {
30 30
31 class HostResource; 31 class HostResource;
32 32
33 namespace proxy { 33 namespace proxy {
34 34
35 // The proxied image data resource. Unlike most resources, this needs to be 35 // The proxied image data resource. Unlike most resources, this needs to be
36 // public in the header since a number of other resources need to access it. 36 // public in the header since a number of other resources need to access it.
37 class ImageData : public ppapi::Resource, 37 class ImageData : public ppapi::Resource,
38 public ppapi::thunk::PPB_ImageData_API, 38 public ppapi::thunk::PPB_ImageData_API,
39 public ppapi::ImageDataImpl { 39 public ppapi::PPB_ImageData_Shared {
40 public: 40 public:
41 ImageData(const ppapi::HostResource& resource, 41 ImageData(const ppapi::HostResource& resource,
42 const PP_ImageDataDesc& desc, 42 const PP_ImageDataDesc& desc,
43 ImageHandle handle); 43 ImageHandle handle);
44 virtual ~ImageData(); 44 virtual ~ImageData();
45 45
46 // Resource overrides. 46 // Resource overrides.
47 virtual ppapi::thunk::PPB_ImageData_API* AsPPB_ImageData_API() OVERRIDE; 47 virtual ppapi::thunk::PPB_ImageData_API* AsPPB_ImageData_API() OVERRIDE;
48 48
49 // PPB_ImageData API. 49 // PPB_ImageData API.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 std::string* image_data_desc, 95 std::string* image_data_desc,
96 ImageHandle* result_image_handle); 96 ImageHandle* result_image_handle);
97 97
98 DISALLOW_COPY_AND_ASSIGN(PPB_ImageData_Proxy); 98 DISALLOW_COPY_AND_ASSIGN(PPB_ImageData_Proxy);
99 }; 99 };
100 100
101 } // namespace proxy 101 } // namespace proxy
102 } // namespace ppapi 102 } // namespace ppapi
103 103
104 #endif // PPAPI_PPB_IMAGE_DATA_PROXY_H_ 104 #endif // PPAPI_PPB_IMAGE_DATA_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_graphics_3d_proxy.h ('k') | ppapi/proxy/ppb_instance_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698