| Index: ui/views/controls/menu/menu_separator.h
|
| diff --git a/ui/views/controls/menu/menu_separator.h b/ui/views/controls/menu/menu_separator.h
|
| index f3eabb29a3c705641f52b0f8803ba098b1996d52..cb48e04d5842043125f5edb463ae9740bbbd994d 100644
|
| --- a/ui/views/controls/menu/menu_separator.h
|
| +++ b/ui/views/controls/menu/menu_separator.h
|
| @@ -6,19 +6,23 @@
|
| #define UI_VIEWS_CONTROLS_MENU_MENU_SEPARATOR_H_
|
|
|
| #include "base/compiler_specific.h"
|
| +#include "ui/base/models/menu_separator_types.h"
|
| #include "ui/views/view.h"
|
|
|
| namespace views {
|
|
|
| class MenuSeparator : public View {
|
| public:
|
| - MenuSeparator() {}
|
| + explicit MenuSeparator(ui::MenuSeparatorType type) : type_(type) {}
|
|
|
| // View overrides.
|
| virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
|
| virtual gfx::Size GetPreferredSize() OVERRIDE;
|
|
|
| private:
|
| + // The type of the separator.
|
| + const ui::MenuSeparatorType type_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(MenuSeparator);
|
| };
|
|
|
|
|