Chromium Code Reviews| Index: ui/base/layout.h |
| diff --git a/ui/base/layout.h b/ui/base/layout.h |
| index be65e6e038bc7374b83819d438cc1b9417e6c325..368e7cbea3be4b8ad5b08e3aeb840d112c764181 100644 |
| --- a/ui/base/layout.h |
| +++ b/ui/base/layout.h |
| @@ -27,6 +27,15 @@ enum DisplayLayout { |
| // the .pak file of theme resources to load. |
| UI_EXPORT DisplayLayout GetDisplayLayout(); |
| +enum ScaleFactor { |
| + SCALE_FACTOR_100P, |
| + SCALE_FACTOR_200P |
| +}; |
| + |
| +// The scale factor used for unscaled binary data, the 1x (default) scale factor |
| +// data packs. |
| +static const ScaleFactor kScaleFactorNone = SCALE_FACTOR_100P; |
|
tony
2012/05/15 20:19:56
I think you can add this to the enum.
SCALE_FACTOR
flackr
2012/05/16 13:39:23
Done.
|
| + |
| } // namespace ui |
| #endif // UI_BASE_LAYOUT_H_ |