| Index: ui/views/controls/slider.h
|
| diff --git a/ui/views/controls/slider.h b/ui/views/controls/slider.h
|
| index e90da3a4ab1ae20426f114e9c184a7dbd6d6bef5..451e1913f80976318d37e96981694f89eda1c76c 100644
|
| --- a/ui/views/controls/slider.h
|
| +++ b/ui/views/controls/slider.h
|
| @@ -72,6 +72,10 @@ class VIEWS_EXPORT Slider : public View, public gfx::AnimationDelegate {
|
| virtual void UpdateState(bool control_on) = 0;
|
|
|
| protected:
|
| + bool OnMousePressed(const ui::MouseEvent& event) override;
|
| + void OnMouseReleased(const ui::MouseEvent& event) override;
|
| +
|
| + protected:
|
| explicit Slider(SliderListener* listener);
|
|
|
| // Returns the current position of the thumb on the slider.
|
| @@ -106,9 +110,7 @@ class VIEWS_EXPORT Slider : public View, public gfx::AnimationDelegate {
|
| // views::View:
|
| const char* GetClassName() const override;
|
| gfx::Size GetPreferredSize() const override;
|
| - bool OnMousePressed(const ui::MouseEvent& event) override;
|
| bool OnMouseDragged(const ui::MouseEvent& event) override;
|
| - void OnMouseReleased(const ui::MouseEvent& event) override;
|
| bool OnKeyPressed(const ui::KeyEvent& event) override;
|
| void GetAccessibleState(ui::AXViewState* state) override;
|
| void OnFocus() override;
|
|
|