| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_VIEWS_TEST_TEST_SLIDER_H_ | 5 #ifndef UI_VIEWS_TEST_TEST_SLIDER_H_ |
| 6 #define UI_VIEWS_TEST_TEST_SLIDER_H_ | 6 #define UI_VIEWS_TEST_TEST_SLIDER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ui/views/controls/slider.h" | 9 #include "ui/views/controls/slider.h" |
| 10 #include "ui/views/view.h" | 10 #include "ui/views/view.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 // ui::Slider: | 23 // ui::Slider: |
| 24 void UpdateState(bool control_on) override; | 24 void UpdateState(bool control_on) override; |
| 25 | 25 |
| 26 // views::View: | 26 // views::View: |
| 27 const char* GetClassName() const override; | 27 const char* GetClassName() const override; |
| 28 | 28 |
| 29 protected: | 29 protected: |
| 30 // ui::Slider: | 30 // ui::Slider: |
| 31 int GetThumbWidth() override; | 31 int GetThumbWidth() override; |
| 32 |
| 33 private: |
| 34 DISALLOW_COPY_AND_ASSIGN(TestSlider); |
| 32 }; | 35 }; |
| 33 | 36 |
| 34 } // namespace views | 37 } // namespace views |
| 35 | 38 |
| 36 #endif // UI_VIEWS_TEST_TEST_SLIDER_H_ | 39 #endif // UI_VIEWS_TEST_TEST_SLIDER_H_ |
| OLD | NEW |