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_SCROLLBAR_BASE_SCROLL_BAR_H_ | 5 #ifndef UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_H_ |
6 #define UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_H_ | 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "base/macros.h" |
9 #include "ui/views/animation/scroll_animator.h" | 10 #include "ui/views/animation/scroll_animator.h" |
10 #include "ui/views/context_menu_controller.h" | 11 #include "ui/views/context_menu_controller.h" |
11 #include "ui/views/controls/button/image_button.h" | 12 #include "ui/views/controls/button/image_button.h" |
12 #include "ui/views/controls/menu/menu_delegate.h" | 13 #include "ui/views/controls/menu/menu_delegate.h" |
13 #include "ui/views/controls/scrollbar/scroll_bar.h" | 14 #include "ui/views/controls/scrollbar/scroll_bar.h" |
14 #include "ui/views/repeat_controller.h" | 15 #include "ui/views/repeat_controller.h" |
15 | 16 |
16 namespace views { | 17 namespace views { |
17 | 18 |
18 class BaseScrollBarThumb; | 19 class BaseScrollBarThumb; |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 // TODO(tdresser): This should be removed when raw pixel scrolling for views | 184 // TODO(tdresser): This should be removed when raw pixel scrolling for views |
184 // is enabled. See crbug.com/329354. | 185 // is enabled. See crbug.com/329354. |
185 gfx::Vector2dF roundoff_error_; | 186 gfx::Vector2dF roundoff_error_; |
186 | 187 |
187 DISALLOW_COPY_AND_ASSIGN(BaseScrollBar); | 188 DISALLOW_COPY_AND_ASSIGN(BaseScrollBar); |
188 }; | 189 }; |
189 | 190 |
190 } // namespace views | 191 } // namespace views |
191 | 192 |
192 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_H_ | 193 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_H_ |
OLD | NEW |