Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Side by Side Diff: ui/views/controls/scroll_view.h

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698