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