Chromium Code Reviews| 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..017f8793186b68bfebafd7daad438bb8795a53cc 100644 |
| --- a/ui/views/controls/button/toggle_button.h |
| +++ b/ui/views/controls/button/toggle_button.h |
| @@ -49,9 +49,11 @@ class VIEWS_EXPORT ToggleButton : public CustomButton { |
| // gfx::AnimationDelegate: |
| void AnimationProgressed(const gfx::Animation* animation) override; |
| + SkColor GetTrackColor(bool is_on) const; |
|
varkha
2016/10/27 19:02:00
Do you want to move this to be with other non-over
Evan Stade
2016/10/27 19:08:48
sorry, yes
|
| + |
| bool is_on_; |
| gfx::SlideAnimation slide_animation_; |
| - std::unique_ptr<ThumbView> thumb_view_; |
| + ThumbView* thumb_view_; |
| DISALLOW_COPY_AND_ASSIGN(ToggleButton); |
| }; |