| 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 347d1d050a3e99dbb6ef0625ec8d88ddc0b09173..3449c39b47ccb4c7100c8dd4f98fa52e62baaedc 100644
|
| --- a/ui/views/controls/button/toggle_button.h
|
| +++ b/ui/views/controls/button/toggle_button.h
|
| @@ -27,6 +27,7 @@ class VIEWS_EXPORT ToggleButton : public CustomButton {
|
| void OnPaint(gfx::Canvas* canvas) override;
|
| void NotifyClick(const ui::Event& event) override;
|
| void OnNativeThemeChanged(const ui::NativeTheme* theme) override;
|
| + void AddInkDropLayer(ui::Layer* ink_drop_layer) override;
|
| std::unique_ptr<InkDropRipple> CreateInkDropRipple() const override;
|
| SkColor GetInkDropBaseColor() const override;
|
| bool ShouldShowInkDropHighlight() const override;
|
| @@ -40,6 +41,9 @@ class VIEWS_EXPORT ToggleButton : public CustomButton {
|
| bool is_on_;
|
| gfx::SlideAnimation slide_animation_;
|
|
|
| + // Keeps track of the thumb position when ink ripple highlight is created.
|
| + gfx::Point original_center_point_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ToggleButton);
|
| };
|
|
|
|
|