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_SCROLL_BAR_H_ | 5 #ifndef UI_VIEWS_CONTROLS_SCROLLBAR_SCROLL_BAR_H_ |
6 #define UI_VIEWS_CONTROLS_SCROLLBAR_SCROLL_BAR_H_ | 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_SCROLL_BAR_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "ui/views/view.h" | 11 #include "ui/views/view.h" |
12 #include "views/views_export.h" | 12 #include "ui/views/views_export.h" |
13 | 13 |
14 namespace views { | 14 namespace views { |
15 | 15 |
16 class ScrollBar; | 16 class ScrollBar; |
17 | 17 |
18 ///////////////////////////////////////////////////////////////////////////// | 18 ///////////////////////////////////////////////////////////////////////////// |
19 // | 19 // |
20 // ScrollBarController | 20 // ScrollBarController |
21 // | 21 // |
22 // ScrollBarController defines the method that should be implemented to | 22 // ScrollBarController defines the method that should be implemented to |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 ScrollBarController* controller_; | 100 ScrollBarController* controller_; |
101 | 101 |
102 int max_pos_; | 102 int max_pos_; |
103 | 103 |
104 DISALLOW_COPY_AND_ASSIGN(ScrollBar); | 104 DISALLOW_COPY_AND_ASSIGN(ScrollBar); |
105 }; | 105 }; |
106 | 106 |
107 } // namespace views | 107 } // namespace views |
108 | 108 |
109 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_SCROLL_BAR_H_ | 109 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_SCROLL_BAR_H_ |
OLD | NEW |