OLD | NEW |
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 CONTENT_RENDERER_PEPPER_PPB_IMAGE_DATA_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PPB_IMAGE_DATA_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PPB_IMAGE_DATA_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PPB_IMAGE_DATA_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "ppapi/c/ppb_image_data.h" | 15 #include "ppapi/c/ppb_image_data.h" |
16 #include "ppapi/shared_impl/ppb_image_data_shared.h" | 16 #include "ppapi/shared_impl/ppb_image_data_shared.h" |
17 #include "ppapi/shared_impl/resource.h" | 17 #include "ppapi/shared_impl/resource.h" |
18 #include "ppapi/thunk/ppb_image_data_api.h" | 18 #include "ppapi/thunk/ppb_image_data_api.h" |
19 #include "third_party/skia/include/core/SkCanvas.h" | 19 #include "third_party/skia/include/core/SkBitmap.h" |
20 | 20 |
21 class SkBitmap; | |
22 class SkCanvas; | 21 class SkCanvas; |
23 class TransportDIB; | 22 class TransportDIB; |
24 | 23 |
25 namespace base { | 24 namespace base { |
26 class SharedMemory; | 25 class SharedMemory; |
27 } | 26 } |
28 | 27 |
29 namespace content { | 28 namespace content { |
30 | 29 |
31 class CONTENT_EXPORT PPB_ImageData_Impl | 30 class CONTENT_EXPORT PPB_ImageData_Impl |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 PPB_ImageData_Impl* image_data_; | 215 PPB_ImageData_Impl* image_data_; |
217 bool is_valid_; | 216 bool is_valid_; |
218 bool needs_unmap_; | 217 bool needs_unmap_; |
219 | 218 |
220 DISALLOW_COPY_AND_ASSIGN(ImageDataAutoMapper); | 219 DISALLOW_COPY_AND_ASSIGN(ImageDataAutoMapper); |
221 }; | 220 }; |
222 | 221 |
223 } // namespace content | 222 } // namespace content |
224 | 223 |
225 #endif // CONTENT_RENDERER_PEPPER_PPB_IMAGE_DATA_IMPL_H_ | 224 #endif // CONTENT_RENDERER_PEPPER_PPB_IMAGE_DATA_IMPL_H_ |
OLD | NEW |