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 "ui/gfx/animation/animation_delegate.h" | 9 #include "ui/gfx/animation/animation_delegate.h" |
9 #include "ui/views/view.h" | 10 #include "ui/views/view.h" |
10 #include "ui/views/views_export.h" | 11 #include "ui/views/views_export.h" |
11 | 12 |
12 typedef unsigned int SkColor; | 13 typedef unsigned int SkColor; |
13 | 14 |
14 namespace gfx { | 15 namespace gfx { |
15 class ImageSkia; | 16 class ImageSkia; |
16 class SlideAnimation; | 17 class SlideAnimation; |
17 } | 18 } |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 const gfx::ImageSkia* thumb_; | 141 const gfx::ImageSkia* thumb_; |
141 const gfx::ImageSkia* images_[4]; | 142 const gfx::ImageSkia* images_[4]; |
142 int bar_height_; | 143 int bar_height_; |
143 | 144 |
144 DISALLOW_COPY_AND_ASSIGN(Slider); | 145 DISALLOW_COPY_AND_ASSIGN(Slider); |
145 }; | 146 }; |
146 | 147 |
147 } // namespace views | 148 } // namespace views |
148 | 149 |
149 #endif // UI_VIEWS_CONTROLS_SLIDER_H_ | 150 #endif // UI_VIEWS_CONTROLS_SLIDER_H_ |
OLD | NEW |