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

Unified Diff: ash/system/status_area_widget_delegate.cc

Issue 10832389: Revert 152135 - Fix accessability for web notification tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « ash/system/status_area_widget.cc ('k') | ash/system/tray/system_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/status_area_widget_delegate.cc
===================================================================
--- ash/system/status_area_widget_delegate.cc (revision 152315)
+++ ash/system/status_area_widget_delegate.cc (working copy)
@@ -96,14 +96,14 @@
views::GridLayout::USE_PREF, 0, 0);
}
layout->StartRow(0, 0);
- for (int c = child_count() - 1; c >= 0; --c)
+ for (int c = 0; c < child_count(); ++c)
layout->AddView(child_at(c));
} else {
columns->AddColumn(views::GridLayout::CENTER, views::GridLayout::CENTER,
0, /* resize percent */
views::GridLayout::USE_PREF, 0, 0);
- for (int c = child_count() - 1; c >= 0; --c) {
- if (c != child_count() - 1)
+ for (int c = 0; c < child_count(); ++c) {
+ if (c != 0)
layout->AddPaddingRow(0, kTraySpacing);
layout->StartRow(0, 0);
layout->AddView(child_at(c));
« no previous file with comments | « ash/system/status_area_widget.cc ('k') | ash/system/tray/system_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698