| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CONTROLS_SLIDER_H_ | 5 #ifndef UI_VIEWS_CONTROLS_SLIDER_H_ |
| 6 #define UI_VIEWS_CONTROLS_SLIDER_H_ | 6 #define UI_VIEWS_CONTROLS_SLIDER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ui/gfx/animation/animation_delegate.h" | 9 #include "ui/gfx/animation/animation_delegate.h" |
| 10 #include "ui/views/view.h" | 10 #include "ui/views/view.h" |
| 11 #include "ui/views/views_export.h" | 11 #include "ui/views/views_export.h" |
| 12 | 12 |
| 13 typedef unsigned int SkColor; | 13 typedef unsigned int SkColor; |
| 14 | 14 |
| 15 namespace gfx { | 15 namespace gfx { |
| 16 class ImageSkia; | |
| 17 class SlideAnimation; | 16 class SlideAnimation; |
| 18 } | 17 } |
| 19 | 18 |
| 20 namespace views { | 19 namespace views { |
| 21 | 20 |
| 22 namespace test { | 21 namespace test { |
| 23 class SliderTestApi; | 22 class SliderTestApi; |
| 24 } | 23 } |
| 25 | 24 |
| 26 class Slider; | 25 class Slider; |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 // Relative position of the mouse cursor (or the touch point) on the slider's | 144 // Relative position of the mouse cursor (or the touch point) on the slider's |
| 146 // button. | 145 // button. |
| 147 int initial_button_offset_; | 146 int initial_button_offset_; |
| 148 | 147 |
| 149 DISALLOW_COPY_AND_ASSIGN(Slider); | 148 DISALLOW_COPY_AND_ASSIGN(Slider); |
| 150 }; | 149 }; |
| 151 | 150 |
| 152 } // namespace views | 151 } // namespace views |
| 153 | 152 |
| 154 #endif // UI_VIEWS_CONTROLS_SLIDER_H_ | 153 #endif // UI_VIEWS_CONTROLS_SLIDER_H_ |
| OLD | NEW |