| Index: ui/views/controls/separator.h
|
| diff --git a/ui/views/controls/separator.h b/ui/views/controls/separator.h
|
| index 39004baf378e41b7c839d7199cb4da9fb8d37430..d30e01b99b20c5a90d2cd6116ae37256ca6b8549 100644
|
| --- a/ui/views/controls/separator.h
|
| +++ b/ui/views/controls/separator.h
|
| @@ -27,6 +27,14 @@ class VIEWS_EXPORT Separator : public View {
|
| explicit Separator(Orientation orientation);
|
| ~Separator() override;
|
|
|
| + SkColor color() const { return color_; }
|
| + void SetColor(SkColor color);
|
| +
|
| + int size() const { return size_; }
|
| + // Preferred size of one axis: height for horizontal separator
|
| + // and width for vertical separator
|
| + void SetPreferredSize(int size);
|
| +
|
| // Overridden from View:
|
| gfx::Size GetPreferredSize() const override;
|
| void GetAccessibleState(ui::AXViewState* state) override;
|
| @@ -35,6 +43,8 @@ class VIEWS_EXPORT Separator : public View {
|
|
|
| private:
|
| const Orientation orientation_;
|
| + SkColor color_;
|
| + int size_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(Separator);
|
| };
|
|
|