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..76f67b005e3634d03f554ead9206a006565f73e2 100644 |
| --- a/ui/base/models/menu_model.h |
| +++ b/ui/base/models/menu_model.h |
| @@ -7,6 +7,7 @@ |
| #include "base/string16.h" |
| #include "ui/base/models/menu_model_delegate.h" |
| +#include "ui/base/models/separator_types.h" |
| #include "ui/base/ui_export.h" |
| #include "ui/gfx/image/image_skia.h" |
| #include "ui/gfx/native_widget_types.h" |
| @@ -57,6 +58,9 @@ class UI_EXPORT MenuModel { |
| // Returns the type of item at the specified index. |
| virtual ItemType GetTypeAt(int index) const = 0; |
| + // Returns the separator type at the specified index. |
| + virtual ui::MenuSeparatorType GetSeparatorStyleAt(int index) const = 0; |
|
sky
2012/08/21 19:36:29
Method should name return value: GetSeparatorTypeA
Mr4D (OOO till 08-26)
2012/08/21 21:34:54
Hmpf. In deed. Changed. (sorry missed that).
|
| + |
| // Returns the command id of the item at the specified index. |
| virtual int GetCommandIdAt(int index) const = 0; |