Chromium Code Reviews| Index: ui/base/models/menu_model.h |
| diff --git a/ui/base/models/menu_model.h b/ui/base/models/menu_model.h |
| index a684253ba83adaffdd6a84f61b3f44736078c4bc..af400c85abeaabe1a198cfe9b19c821e1991a2c0 100644 |
| --- a/ui/base/models/menu_model.h |
| +++ b/ui/base/models/menu_model.h |
| @@ -35,6 +35,16 @@ class UI_EXPORT MenuModel { |
| TYPE_SUBMENU |
| }; |
| + // For a separator we have the following types. |
| + // Normal - top to bottom: Spacing, line, spacing |
| + static const string16 NORMAL_SEPARATOR; |
|
sky
2012/08/20 15:58:17
This should be an enum.
|
| + // Upper - top to bottom: Line, spacing |
| + static const string16 UPPER_SEPARATOR; |
| + // Lower - top to bottom: Spacing, line |
| + static const string16 LOWER_SEPARATOR; |
| + // Spacing - top to bottom: Spacing only. |
| + static const string16 SPACING_SEPARATOR; |
| + |
| virtual ~MenuModel() {} |
| // Returns true if any of the items within the model have icons. Not all |