Chromium Code Reviews| Index: components/dom_distiller/core/font_family_list.h |
| diff --git a/components/dom_distiller/core/theme_list.h b/components/dom_distiller/core/font_family_list.h |
| similarity index 63% |
| copy from components/dom_distiller/core/theme_list.h |
| copy to components/dom_distiller/core/font_family_list.h |
| index 44496a5b0d273e3efea43fd3a8280f0fe122906c..f20c5169c262221234d368cfbb11bf33505ca1ef 100644 |
| --- a/components/dom_distiller/core/theme_list.h |
| +++ b/components/dom_distiller/core/font_family_list.h |
| @@ -5,13 +5,13 @@ |
| // This file intentionally does not have header guards, it's included |
| // inside a macro to generate enum values. |
| -#ifndef DEFINE_THEME |
| -#error "DEFINE_THEME should be defined before including this file" |
| +#ifndef DEFINE_FONT_FAMILY |
| +#error "DEFINE_FONT_FAMILY should be defined before including this file" |
| #endif |
| // First argument represents the enum name, second argument represents enum |
| // value. THEME_COUNT used only by native enum. |
|
Yaron
2014/08/13 01:58:47
FONT_FAMILY_COUNT
sunangel
2014/08/13 18:09:04
Done.
|
| -DEFINE_THEME(LIGHT, 0) |
| -DEFINE_THEME(DARK, 1) |
| -DEFINE_THEME(SEPIA, 2) |
| -DEFINE_THEME(THEME_COUNT, 3) |
| +DEFINE_FONT_FAMILY(SANS_SERIF, 0) |
| +DEFINE_FONT_FAMILY(SERIF, 1) |
| +DEFINE_FONT_FAMILY(MONOSPACE, 2) |
| +DEFINE_FONT_FAMILY(FONT_FAMILY_COUNT, 3) |