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