| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ui/views/controls/button/custom_button.h" | 9 #include "ui/views/controls/button/custom_button.h" |
| 10 | 10 |
| 11 #include "views/repeat_controller.h" | 11 #include "ui/views/repeat_controller.h" |
| 12 | 12 |
| 13 #if defined(OS_LINUX) | 13 #if defined(OS_LINUX) |
| 14 #include "ui/gfx/screen.h" | 14 #include "ui/gfx/screen.h" |
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 namespace views { | 17 namespace views { |
| 18 | 18 |
| 19 /////////////////////////////////////////////////////////////////////////////// | 19 /////////////////////////////////////////////////////////////////////////////// |
| 20 // | 20 // |
| 21 // ScrollBarButton | 21 // ScrollBarButton |
| (...skipping 19 matching lines...) Expand all Loading... |
| 41 // The repeat controller that we use to repeatedly click the button when the | 41 // The repeat controller that we use to repeatedly click the button when the |
| 42 // mouse button is down. | 42 // mouse button is down. |
| 43 RepeatController repeater_; | 43 RepeatController repeater_; |
| 44 | 44 |
| 45 DISALLOW_COPY_AND_ASSIGN(BaseScrollBarButton); | 45 DISALLOW_COPY_AND_ASSIGN(BaseScrollBarButton); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace views | 48 } // namespace views |
| 49 | 49 |
| 50 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_BUTTON_H_ | 50 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_BUTTON_H_ |
| OLD | NEW |