| 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 55%
|
| copy from components/dom_distiller/core/theme_list.h
|
| copy to components/dom_distiller/core/font_family_list.h
|
| index 44496a5b0d273e3efea43fd3a8280f0fe122906c..98007419a2349403df878373b95420dbf85e621d 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.
|
| -DEFINE_THEME(LIGHT, 0)
|
| -DEFINE_THEME(DARK, 1)
|
| -DEFINE_THEME(SEPIA, 2)
|
| -DEFINE_THEME(THEME_COUNT, 3)
|
| +// value. FONT_FAMILY_COUNT used only by native enum.
|
| +DEFINE_FONT_FAMILY(SANS_SERIF, 0)
|
| +DEFINE_FONT_FAMILY(SERIF, 1)
|
| +DEFINE_FONT_FAMILY(MONOSPACE, 2)
|
| +DEFINE_FONT_FAMILY(FONT_FAMILY_COUNT, 3)
|
|
|