| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BUTTON_H_ | 5 #ifndef UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_BUTTON_H_ |
| 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_BUTTON_H_ | 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_BUTTON_H_ |
| 7 | 7 |
| 8 #include "ui/views/controls/button/custom_button.h" | 8 #include "ui/views/controls/button/custom_button.h" |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 11 #include "build/build_config.h" |
| 10 #include "ui/views/repeat_controller.h" | 12 #include "ui/views/repeat_controller.h" |
| 11 | 13 |
| 12 #if defined(OS_LINUX) | 14 #if defined(OS_LINUX) |
| 13 #include "ui/gfx/screen.h" | 15 #include "ui/gfx/screen.h" |
| 14 #endif | 16 #endif |
| 15 | 17 |
| 16 namespace views { | 18 namespace views { |
| 17 | 19 |
| 18 /////////////////////////////////////////////////////////////////////////////// | 20 /////////////////////////////////////////////////////////////////////////////// |
| 19 // | 21 // |
| (...skipping 20 matching lines...) Expand all Loading... |
| 40 // The repeat controller that we use to repeatedly click the button when the | 42 // The repeat controller that we use to repeatedly click the button when the |
| 41 // mouse button is down. | 43 // mouse button is down. |
| 42 RepeatController repeater_; | 44 RepeatController repeater_; |
| 43 | 45 |
| 44 DISALLOW_COPY_AND_ASSIGN(BaseScrollBarButton); | 46 DISALLOW_COPY_AND_ASSIGN(BaseScrollBarButton); |
| 45 }; | 47 }; |
| 46 | 48 |
| 47 } // namespace views | 49 } // namespace views |
| 48 | 50 |
| 49 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_BUTTON_H_ | 51 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_BUTTON_H_ |
| OLD | NEW |