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

Unified Diff: chrome/browser/chromeos/status/status_area_view.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
Index: chrome/browser/chromeos/status/status_area_view.cc
===================================================================
--- chrome/browser/chromeos/status/status_area_view.cc (revision 92600)
+++ chrome/browser/chromeos/status/status_area_view.cc (working copy)
@@ -60,7 +60,7 @@
int result_h = 0;
for (int i = 0; i < child_count(); i++) {
- views::View* cur = GetChildViewAt(i);
+ views::View* cur = child_at(i);
gfx::Size cur_size = cur->GetPreferredSize();
if (cur->IsVisible() && !cur_size.IsEmpty()) {
if (result_w == 0)
@@ -78,7 +78,7 @@
void StatusAreaView::Layout() {
int cur_x = kSeparation;
for (int i = 0; i < child_count(); i++) {
- views::View* cur = GetChildViewAt(i);
+ views::View* cur = child_at(i);
gfx::Size cur_size = cur->GetPreferredSize();
if (cur->IsVisible() && !cur_size.IsEmpty()) {
int cur_y = (height() - cur_size.height()) / 2;
« no previous file with comments | « chrome/browser/chromeos/notifications/notification_panel.cc ('k') | chrome/browser/ui/touch/frame/keyboard_container_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698