diff options
Diffstat (limited to 'views/controls/menu/menu_config.h')
-rw-r--r-- | views/controls/menu/menu_config.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/views/controls/menu/menu_config.h b/views/controls/menu/menu_config.h index cd41fea..9a9a60e 100644 --- a/views/controls/menu/menu_config.h +++ b/views/controls/menu/menu_config.h @@ -6,6 +6,7 @@ #define VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ #include "gfx/font.h" +#include "third_party/skia/include/core/SkColor.h" namespace views { @@ -13,7 +14,8 @@ namespace views { // the MenuConfig for the current platform. struct MenuConfig { MenuConfig() - : item_top_margin(3), + : text_color(SK_ColorBLACK), + item_top_margin(3), item_bottom_margin(4), item_no_icon_top_margin(1), item_no_icon_bottom_margin(3), @@ -44,8 +46,8 @@ struct MenuConfig { // Font used by menus. gfx::Font font; - // Font used when the menu has children. - gfx::Font font_with_controls; + // Normal text color. + SkColor text_color; // Margins between the top of the item and the label. int item_top_margin; |