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

Unified Diff: views/controls/menu/menu_config.h

Issue 6622002: Do all OOLing in the views code. linux_views now builds clean with the clang plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: views/controls/menu/menu_config.h
diff --git a/views/controls/menu/menu_config.h b/views/controls/menu/menu_config.h
index ae5446d5571f1a4d5dd63c3497caec65fd2250a5..06a31f1a398d7931b3f5f7557f73e7e39c582f91 100644
--- a/views/controls/menu/menu_config.h
+++ b/views/controls/menu/menu_config.h
@@ -14,30 +14,8 @@ namespace views {
// Layout type information for menu items. Use the instance() method to obtain
// the MenuConfig for the current platform.
struct MenuConfig {
- MenuConfig()
- : text_color(SK_ColorBLACK),
- item_top_margin(3),
- item_bottom_margin(4),
- item_no_icon_top_margin(1),
- item_no_icon_bottom_margin(3),
- item_left_margin(4),
- label_to_arrow_padding(10),
- arrow_to_edge_padding(5),
- icon_to_label_padding(8),
- gutter_to_label(5),
- check_width(16),
- check_height(16),
- radio_width(16),
- radio_height(16),
- arrow_height(9),
- arrow_width(9),
- gutter_width(0),
- separator_height(6),
- render_gutter(false),
- show_mnemonics(false),
- scroll_arrow_height(3),
- label_to_accelerator_padding(10) {
- }
+ MenuConfig();
+ ~MenuConfig();
// Resets the single shared MenuConfig instance. The next time instance() is
// invoked a new MenuConfig is created and configured.

Powered by Google App Engine
This is Rietveld 408576698