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

Side by Side Diff: views/controls/menu/menu_config.h

Issue 7825024: For Touch: remove some menu items for experimentation, adjust sizes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ 5 #ifndef VIEWS_CONTROLS_MENU_MENU_CONFIG_H_
6 #define VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ 6 #define VIEWS_CONTROLS_MENU_MENU_CONFIG_H_
7 #pragma once 7 #pragma once
8 8
9 #include "third_party/skia/include/core/SkColor.h" 9 #include "third_party/skia/include/core/SkColor.h"
10 #include "ui/gfx/font.h" 10 #include "ui/gfx/font.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Are mnemonics shown? 81 // Are mnemonics shown?
82 bool show_mnemonics; 82 bool show_mnemonics;
83 83
84 // Height of the scroll arrow. 84 // Height of the scroll arrow.
85 int scroll_arrow_height; 85 int scroll_arrow_height;
86 86
87 // Padding between the label and accelerator. Only used if there is an 87 // Padding between the label and accelerator. Only used if there is an
88 // accelerator. 88 // accelerator.
89 int label_to_accelerator_padding; 89 int label_to_accelerator_padding;
90 90
91 // Whether the keyboard accelerators are visible.
92 bool show_accelerators;
93
91 private: 94 private:
92 // Creates and configures a new MenuConfig as appropriate for the current 95 // Creates and configures a new MenuConfig as appropriate for the current
93 // platform. 96 // platform.
94 static MenuConfig* Create(); 97 static MenuConfig* Create();
95 }; 98 };
96 99
97 } // namespace views 100 } // namespace views
98 101
99 #endif // VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ 102 #endif // VIEWS_CONTROLS_MENU_MENU_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698