OLD | NEW |
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 <stdint.h> |
| 9 |
8 #include "ppapi/c/ppb_image_data.h" | 10 #include "ppapi/c/ppb_image_data.h" |
9 #include "ppapi/cpp/point.h" | 11 #include "ppapi/cpp/point.h" |
| 12 #include "ppapi/cpp/resource.h" |
10 #include "ppapi/cpp/size.h" | 13 #include "ppapi/cpp/size.h" |
11 #include "ppapi/cpp/resource.h" | |
12 | 14 |
13 /// @file | 15 /// @file |
14 /// This file defines the APIs for determining how a browser | 16 /// This file defines the APIs for determining how a browser |
15 /// handles image data. | 17 /// handles image data. |
16 namespace pp { | 18 namespace pp { |
17 | 19 |
18 class InstanceHandle; | 20 class InstanceHandle; |
19 | 21 |
20 class ImageData : public Resource { | 22 class ImageData : public Resource { |
21 public: | 23 public: |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 private: | 134 private: |
133 void InitData(); | 135 void InitData(); |
134 | 136 |
135 PP_ImageDataDesc desc_; | 137 PP_ImageDataDesc desc_; |
136 void* data_; | 138 void* data_; |
137 }; | 139 }; |
138 | 140 |
139 } // namespace pp | 141 } // namespace pp |
140 | 142 |
141 #endif // PPAPI_CPP_IMAGE_DATA_H_ | 143 #endif // PPAPI_CPP_IMAGE_DATA_H_ |
OLD | NEW |