| Index: cc/resources/raster_mode.h
|
| diff --git a/cc/resources/raster_mode.h b/cc/resources/raster_mode.h
|
| index 9868059e0b7015c5a885ed92adc117d3e08fb176..ce3298cfe63c42fc0f624a7ee91af31c6f0d0dd9 100644
|
| --- a/cc/resources/raster_mode.h
|
| +++ b/cc/resources/raster_mode.h
|
| @@ -6,6 +6,7 @@
|
| #define CC_RESOURCES_RASTER_MODE_H_
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "cc/base/util.h"
|
|
|
| namespace base {
|
| class Value;
|
| @@ -17,13 +18,10 @@ namespace cc {
|
| // high quality implies lcd text.
|
| // Note that the order of these matters, from "better" to "worse" in terms of
|
| // quality.
|
| -enum RasterMode {
|
| - HIGH_QUALITY_NO_LCD_RASTER_MODE = 0,
|
| - HIGH_QUALITY_RASTER_MODE = 1,
|
| - LOW_QUALITY_RASTER_MODE = 2,
|
| - NUM_RASTER_MODES = 3
|
| -};
|
| -
|
| +DEFINE_ENUM(RasterMode,
|
| + HIGH_QUALITY_NO_LCD_RASTER_MODE,
|
| + HIGH_QUALITY_RASTER_MODE,
|
| + LOW_QUALITY_RASTER_MODE);
|
| scoped_ptr<base::Value> RasterModeAsValue(RasterMode mode);
|
|
|
| } // namespace cc
|
|
|