| OLD | NEW |
| 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 #ifndef UI_VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ | 5 #ifndef UI_VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ |
| 6 #define UI_VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ | 6 #define UI_VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ |
| 7 | 7 |
| 8 #include "third_party/skia/include/core/SkColor.h" | 8 #include "third_party/skia/include/core/SkColor.h" |
| 9 #include "ui/gfx/font.h" | 9 #include "ui/gfx/font.h" |
| 10 #include "ui/views/views_export.h" | 10 #include "ui/views/views_export.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 int radio_width; | 74 int radio_width; |
| 75 int radio_height; | 75 int radio_height; |
| 76 | 76 |
| 77 // Size of the submenu arrow. | 77 // Size of the submenu arrow. |
| 78 int arrow_height; | 78 int arrow_height; |
| 79 int arrow_width; | 79 int arrow_width; |
| 80 | 80 |
| 81 // Width of the gutter. Only used if render_gutter is true. | 81 // Width of the gutter. Only used if render_gutter is true. |
| 82 int gutter_width; | 82 int gutter_width; |
| 83 | 83 |
| 84 // Height of the separator. | 84 // Height of a normal separator (ui::NORMAL_SEPARATOR). |
| 85 int separator_height; | 85 int separator_height; |
| 86 | 86 |
| 87 // Height of a ui::UPPER_SEPARATOR. |
| 88 int separator_upper_height; |
| 89 |
| 90 // Height of a ui::LOWER_SEPARATOR. |
| 91 int separator_lower_height; |
| 92 |
| 93 // Height of a ui::SPACING_SEPARATOR. |
| 94 int separator_spacing_height; |
| 95 |
| 87 // Whether or not the gutter should be rendered. The gutter is specific to | 96 // Whether or not the gutter should be rendered. The gutter is specific to |
| 88 // Vista. | 97 // Vista. |
| 89 bool render_gutter; | 98 bool render_gutter; |
| 90 | 99 |
| 91 // Are mnemonics shown? | 100 // Are mnemonics shown? |
| 92 bool show_mnemonics; | 101 bool show_mnemonics; |
| 93 | 102 |
| 94 // Height of the scroll arrow. | 103 // Height of the scroll arrow. |
| 95 int scroll_arrow_height; | 104 int scroll_arrow_height; |
| 96 | 105 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 115 | 124 |
| 116 private: | 125 private: |
| 117 // Creates and configures a new MenuConfig as appropriate for the current | 126 // Creates and configures a new MenuConfig as appropriate for the current |
| 118 // platform. | 127 // platform. |
| 119 static MenuConfig* Create(); | 128 static MenuConfig* Create(); |
| 120 }; | 129 }; |
| 121 | 130 |
| 122 } // namespace views | 131 } // namespace views |
| 123 | 132 |
| 124 #endif // UI_VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ | 133 #endif // UI_VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ |
| OLD | NEW |