Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: ui/views/controls/menu/menu_config.cc

Issue 1310903004: Use a ui::MenuModel in views::Combobox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +curlies Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/views/controls/menu/menu_config.h ('k') | ui/views/controls/menu/menu_config_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/controls/menu/menu_config.h" 5 #include "ui/views/controls/menu/menu_config.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 namespace views { 9 namespace views {
10 10
(...skipping 21 matching lines...) Expand all
32 show_mnemonics(false), 32 show_mnemonics(false),
33 scroll_arrow_height(3), 33 scroll_arrow_height(3),
34 label_to_minor_text_padding(10), 34 label_to_minor_text_padding(10),
35 item_min_height(0), 35 item_min_height(0),
36 show_accelerators(true), 36 show_accelerators(true),
37 always_use_icon_to_label_padding(false), 37 always_use_icon_to_label_padding(false),
38 align_arrow_and_shortcut(false), 38 align_arrow_and_shortcut(false),
39 offset_context_menus(false), 39 offset_context_menus(false),
40 use_outer_border(true), 40 use_outer_border(true),
41 icons_in_label(false), 41 icons_in_label(false),
42 check_selected_combobox_item(false),
42 native_theme(theme), 43 native_theme(theme),
43 show_delay(400), 44 show_delay(400),
44 corner_radius(0) { 45 corner_radius(0) {
45 Init(theme); 46 Init(theme);
46 } 47 }
47 48
48 MenuConfig::~MenuConfig() {} 49 MenuConfig::~MenuConfig() {}
49 50
50 } // namespace views 51 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/menu/menu_config.h ('k') | ui/views/controls/menu/menu_config_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698