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_SCROLL_VIEW_H_ | 5 #ifndef UI_VIEWS_CONTROLS_SCROLL_VIEW_H_ |
6 #define UI_VIEWS_CONTROLS_SCROLL_VIEW_H_ | 6 #define UI_VIEWS_CONTROLS_SCROLL_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/gtest_prod_util.h" |
11 #include "ui/views/controls/scrollbar/scroll_bar.h" | 12 #include "ui/views/controls/scrollbar/scroll_bar.h" |
12 | 13 |
13 namespace views { | 14 namespace views { |
14 | 15 |
15 ///////////////////////////////////////////////////////////////////////////// | 16 ///////////////////////////////////////////////////////////////////////////// |
16 // | 17 // |
17 // ScrollView class | 18 // ScrollView class |
18 // | 19 // |
19 // A ScrollView is used to make any View scrollable. The view is added to | 20 // A ScrollView is used to make any View scrollable. The view is added to |
20 // a viewport which takes care of clipping. | 21 // a viewport which takes care of clipping. |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 private: | 217 private: |
217 int top_margin_; | 218 int top_margin_; |
218 int row_height_; | 219 int row_height_; |
219 | 220 |
220 DISALLOW_COPY_AND_ASSIGN(FixedRowHeightScrollHelper); | 221 DISALLOW_COPY_AND_ASSIGN(FixedRowHeightScrollHelper); |
221 }; | 222 }; |
222 | 223 |
223 } // namespace views | 224 } // namespace views |
224 | 225 |
225 #endif // UI_VIEWS_CONTROLS_SCROLL_VIEW_H_ | 226 #endif // UI_VIEWS_CONTROLS_SCROLL_VIEW_H_ |
OLD | NEW |