| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |