Chromium Code Reviews| Index: skia/ext/analysis_canvas.h |
| diff --git a/skia/ext/analysis_canvas.h b/skia/ext/analysis_canvas.h |
| index 3c2daafebd770f33ee1c437de68d7c9970b88078..4ebf793a9c997ea7a9724381364c646097701b4b 100644 |
| --- a/skia/ext/analysis_canvas.h |
| +++ b/skia/ext/analysis_canvas.h |
| @@ -35,6 +35,7 @@ class SK_API AnalysisCanvas : public SkCanvas { |
| bool isCheap() const; |
| bool getColorIfSolid(SkColor* color) const; |
| bool isTransparent() const; |
| + bool hasText() const; |
|
enne (OOO)
2013/04/05 21:39:36
Is this file not in Chromium style?
alokp
2013/04/05 22:50:11
We seem to be following skia style in this file.
enne (OOO)
2013/04/05 22:58:12
Except hasText_ is not Skia style? At any rate, t
|
| void consumeLazyPixelRefs(LazyPixelRefList* pixelRefs); |
| // Returns the estimated cost of drawing, in arbitrary units. |
| @@ -76,6 +77,7 @@ class SK_API AnalysisDevice : public SkDevice { |
| int getEstimatedCost() const; |
| bool getColorIfSolid(SkColor* color) const; |
| bool isTransparent() const; |
| + bool hasText() const; |
| void consumeLazyPixelRefs(LazyPixelRefList* pixelRefs); |
| void setForceNotSolid(bool flag); |
| @@ -144,6 +146,7 @@ class SK_API AnalysisDevice : public SkDevice { |
| bool isSolidColor_; |
| SkColor color_; |
| bool isTransparent_; |
| + bool hasText_; |
| IdSet existingPixelRefIDs_; |
| LazyPixelRefList lazyPixelRefs_; |
| }; |