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

Side by Side Diff: ppapi/cpp/image_data.h

Issue 8527020: Cleanup: Remove unneeded forward declarations in ppapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « ppapi/cpp/graphics_3d_client.h ('k') | ppapi/cpp/instance.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_CPP_IMAGE_DATA_H_ 5 #ifndef PPAPI_CPP_IMAGE_DATA_H_
6 #define PPAPI_CPP_IMAGE_DATA_H_ 6 #define PPAPI_CPP_IMAGE_DATA_H_
7 7
8 #include "ppapi/c/ppb_image_data.h" 8 #include "ppapi/c/ppb_image_data.h"
9 #include "ppapi/cpp/point.h" 9 #include "ppapi/cpp/point.h"
10 #include "ppapi/cpp/size.h" 10 #include "ppapi/cpp/size.h"
11 #include "ppapi/cpp/resource.h" 11 #include "ppapi/cpp/resource.h"
12 12
13 13
14 /// @file 14 /// @file
15 /// This file defines the APIs for determining how a browser 15 /// This file defines the APIs for determining how a browser
16 /// handles image data. 16 /// handles image data.
17 namespace pp { 17 namespace pp {
18 18
19 class Instance; 19 class Instance;
20 class Plugin;
21 20
22 class ImageData : public Resource { 21 class ImageData : public Resource {
23 public: 22 public:
24 /// Default constructor for creating an is_null() <code>ImageData</code> 23 /// Default constructor for creating an is_null() <code>ImageData</code>
25 /// object. 24 /// object.
26 ImageData(); 25 ImageData();
27 26
28 /// A special structure used by the constructor that does not increment the 27 /// A special structure used by the constructor that does not increment the
29 /// reference count of the underlying Image resource. 28 /// reference count of the underlying Image resource.
30 struct PassRef {}; 29 struct PassRef {};
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 private: 125 private:
127 void PassRefAndInitData(PP_Resource resource); 126 void PassRefAndInitData(PP_Resource resource);
128 127
129 PP_ImageDataDesc desc_; 128 PP_ImageDataDesc desc_;
130 void* data_; 129 void* data_;
131 }; 130 };
132 131
133 } // namespace pp 132 } // namespace pp
134 133
135 #endif // PPAPI_CPP_IMAGE_DATA_H_ 134 #endif // PPAPI_CPP_IMAGE_DATA_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/graphics_3d_client.h ('k') | ppapi/cpp/instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698