| Index: ui/views/controls/button/toggle_button.h
|
| diff --git a/ui/views/controls/button/toggle_button.h b/ui/views/controls/button/toggle_button.h
|
| index 2780b9f8af6da59ac7023249d3d99caffd4d574f..7249adc934e47dcfbb45999aa10c2a9d54a43f22 100644
|
| --- a/ui/views/controls/button/toggle_button.h
|
| +++ b/ui/views/controls/button/toggle_button.h
|
| @@ -33,6 +33,8 @@ class VIEWS_EXPORT ToggleButton : public CustomButton {
|
| // Updates position and color of the thumb.
|
| void UpdateThumb();
|
|
|
| + SkColor GetTrackColor(bool is_on) const;
|
| +
|
| // CustomButton:
|
| gfx::Size GetPreferredSize() const override;
|
| const char* GetClassName() const override;
|
| @@ -51,7 +53,7 @@ class VIEWS_EXPORT ToggleButton : public CustomButton {
|
|
|
| bool is_on_;
|
| gfx::SlideAnimation slide_animation_;
|
| - std::unique_ptr<ThumbView> thumb_view_;
|
| + ThumbView* thumb_view_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ToggleButton);
|
| };
|
|
|