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/SkBitmap.h" | |
19 #include "third_party/skia/include/core/SkCanvas.h" | 20 #include "third_party/skia/include/core/SkCanvas.h" |
20 | 21 |
21 class SkBitmap; | 22 class SkBitmap; |
mtklein_C
2017/05/01 17:17:46
Can probably kill this line off?
f(malita)
2017/05/01 17:22:33
Oh yeah, and the SkCanvas.h include too.
Done.
| |
22 class SkCanvas; | 23 class SkCanvas; |
23 class TransportDIB; | 24 class TransportDIB; |
24 | 25 |
25 namespace base { | 26 namespace base { |
26 class SharedMemory; | 27 class SharedMemory; |
27 } | 28 } |
28 | 29 |
29 namespace content { | 30 namespace content { |
30 | 31 |
31 class CONTENT_EXPORT PPB_ImageData_Impl | 32 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_; | 217 PPB_ImageData_Impl* image_data_; |
217 bool is_valid_; | 218 bool is_valid_; |
218 bool needs_unmap_; | 219 bool needs_unmap_; |
219 | 220 |
220 DISALLOW_COPY_AND_ASSIGN(ImageDataAutoMapper); | 221 DISALLOW_COPY_AND_ASSIGN(ImageDataAutoMapper); |
221 }; | 222 }; |
222 | 223 |
223 } // namespace content | 224 } // namespace content |
224 | 225 |
225 #endif // CONTENT_RENDERER_PEPPER_PPB_IMAGE_DATA_IMPL_H_ | 226 #endif // CONTENT_RENDERER_PEPPER_PPB_IMAGE_DATA_IMPL_H_ |
OLD | NEW |