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),
30 separator_upper_height(3),
31 separator_lower_height(4),
32 separator_spacing_height(3),
33 show_mnemonics(false),
34 scroll_arrow_height(3),
35 label_to_minor_text_padding(10),
37 show_accelerators(true),
38 always_use_icon_to_label_padding(false),
39 align_arrow_and_shortcut(false),
40 offset_context_menus(false),
47 MenuConfig::~MenuConfig() {}