| 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..e37bca80afe18ae33d54d8688ba05d085f1410b5 100644
|
| --- a/ui/views/controls/menu/menu_separator.h
|
| +++ b/ui/views/controls/menu/menu_separator.h
|
| @@ -12,13 +12,16 @@ namespace views {
|
|
|
| class MenuSeparator : public View {
|
| public:
|
| - MenuSeparator() {}
|
| + MenuSeparator(const string16& type) : type_(type) {}
|
|
|
| // View overrides.
|
| virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
|
| virtual gfx::Size GetPreferredSize() OVERRIDE;
|
|
|
| private:
|
| + // The type of the separator.
|
| + string16 type_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(MenuSeparator);
|
| };
|
|
|
|
|