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

Unified Diff: views/layout/grid_layout_unittest.cc

Issue 7349021: Convert some more view methods to the ui/views style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/layout/fill_layout.cc ('k') | views/view.h » ('j') | views/view.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/layout/grid_layout_unittest.cc
===================================================================
--- views/layout/grid_layout_unittest.cc (revision 92366)
+++ views/layout/grid_layout_unittest.cc (working copy)
@@ -63,7 +63,7 @@
virtual void RemoveAll() {
for (int i = host.child_count() - 1; i >= 0; i--)
- host.RemoveChildView(host.GetChildViewAt(i));
+ host.RemoveChildView(host.child_at(i));
}
void GetPreferredSize() {
@@ -92,7 +92,7 @@
virtual void RemoveAll() {
for (int i = host.child_count() - 1; i >= 0; i--)
- host.RemoveChildView(host.GetChildViewAt(i));
+ host.RemoveChildView(host.child_at(i));
}
void TestAlignment(GridLayout::Alignment alignment, gfx::Rect* bounds) {
@@ -402,7 +402,7 @@
for (int i = 0; i < column_count; ++i) {
for (int row = 0; row < row_count; ++row) {
- View* view = host.GetChildViewAt(row * column_count + i);
+ View* view = host.child_at(row * column_count + i);
ExpectViewBoundsEquals(
2 + title_width * i + (title_width - pref_width) / 2,
2 + pref_height * row,
« no previous file with comments | « views/layout/fill_layout.cc ('k') | views/view.h » ('j') | views/view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698