Add ICU message format support
[chromium-blink-merge.git] / ui / views / controls / menu / menu_config.cc
blobd110cb0f784effee186413471b91dae04e19825f
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"
9 namespace views {
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),
16 item_top_margin(4),
17 item_bottom_margin(3),
18 item_no_icon_top_margin(4),
19 item_no_icon_bottom_margin(4),
20 item_left_margin(10),
21 label_to_arrow_padding(10),
22 arrow_to_edge_padding(5),
23 icon_to_label_padding(10),
24 gutter_to_label(5),
25 check_width(16),
26 check_height(16),
27 radio_width(16),
28 arrow_width(9),
29 separator_height(11),
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),
36 item_min_height(0),
37 show_accelerators(true),
38 always_use_icon_to_label_padding(false),
39 align_arrow_and_shortcut(false),
40 offset_context_menus(false),
41 native_theme(theme),
42 show_delay(400),
43 corner_radius(0) {
44 Init(theme);
47 MenuConfig::~MenuConfig() {}
49 } // namespace views