OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 SKIA_EXT_ANALYSIS_CANVAS_H_ | 5 #ifndef SKIA_EXT_ANALYSIS_CANVAS_H_ |
6 #define SKIA_EXT_ANALYSIS_CANVAS_H_ | 6 #define SKIA_EXT_ANALYSIS_CANVAS_H_ |
7 | 7 |
| 8 #include "base/compiler_specific.h" |
8 #include "third_party/skia/include/core/SkCanvas.h" | 9 #include "third_party/skia/include/core/SkCanvas.h" |
9 #include "third_party/skia/include/core/SkDevice.h" | 10 #include "third_party/skia/include/core/SkDevice.h" |
10 #include "third_party/skia/include/core/SkPicture.h" | 11 #include "third_party/skia/include/core/SkPicture.h" |
11 | 12 |
12 namespace skia { | 13 namespace skia { |
13 | 14 |
14 class AnalysisDevice; | 15 class AnalysisDevice; |
15 | 16 |
16 // Does not render anything, but gathers statistics about a region | 17 // Does not render anything, but gathers statistics about a region |
17 // (specified as a clip rectangle) of an SkPicture as the picture is | 18 // (specified as a clip rectangle) of an SkPicture as the picture is |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 bool is_solid_color_; | 156 bool is_solid_color_; |
156 SkColor color_; | 157 SkColor color_; |
157 bool is_transparent_; | 158 bool is_transparent_; |
158 bool has_text_; | 159 bool has_text_; |
159 }; | 160 }; |
160 | 161 |
161 } // namespace skia | 162 } // namespace skia |
162 | 163 |
163 #endif // SKIA_EXT_ANALYSIS_CANVAS_H_ | 164 #endif // SKIA_EXT_ANALYSIS_CANVAS_H_ |
164 | 165 |
OLD | NEW |