1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/views/controls/menu/menu_config.h"
7 #include "build/build_config.h"
11 MenuConfig::MenuConfig(const ui::NativeTheme
* theme
)
12 : arrow_color(SK_ColorBLACK
),
13 menu_vertical_border_size(3),
14 menu_horizontal_border_size(0),
15 submenu_horizontal_inset(3),
17 item_bottom_margin(3),
18 item_no_icon_top_margin(4),
19 item_no_icon_bottom_margin(4),
21 label_to_arrow_padding(10),
22 arrow_to_edge_padding(5),
23 icon_to_label_padding(10),
29 separator_upper_height(3),
30 separator_lower_height(4),
31 separator_spacing_height(3),
32 show_mnemonics(false),
33 scroll_arrow_height(3),
34 label_to_minor_text_padding(10),
36 show_accelerators(true),
37 always_use_icon_to_label_padding(false),
38 align_arrow_and_shortcut(false),
39 offset_context_menus(false),
40 use_outer_border(true),
41 icons_in_label(false),
42 check_selected_combobox_item(false),
49 MenuConfig::~MenuConfig() {}