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

Issue 10209038: ash: Add vertical spacing to multi-line text in tray. (Closed)

Created:
8 years, 8 months ago by Daniel Erat
Modified:
8 years, 7 months ago
Reviewers:
sadrul
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, stevenjb
Visibility:
Public.

Description

ash: Add vertical spacing to multi-line text in tray. This breaks the multi-line date/day-of-week and battery text in the uber system tray across multiple labels so we can add a bit more spacing between the lines. A side effect (maybe a slight improvement?) is that some of the longer strings (e.g. "Calculating remaining time") now get elided instead of getting wrapped and clipped. Since I needed to change the battery-related strings anyway, I'm also splitting the "2h 23m"-style string into "2h 23m remaining" and "2h 23m until full". BUG=124664, 124074 TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=134585

Patch Set 1 #

Total comments: 6

Patch Set 2 : apply review feedback #

Patch Set 3 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -112 lines) Patch
M ash/ash_strings.grd View 1 chunk +9 lines, -9 lines 0 comments Download
M ash/system/date/date_view.h View 1 chunk +56 lines, -17 lines 0 comments Download
M ash/system/date/date_view.cc View 1 4 chunks +91 lines, -58 lines 0 comments Download
M ash/system/date/tray_date.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/date/tray_date.cc View 3 chunks +9 lines, -9 lines 0 comments Download
M ash/system/power/tray_power.cc View 4 chunks +42 lines, -17 lines 0 comments Download
M ash/system/tray/tray_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/system/tray/tray_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Daniel Erat
https://chromiumcodereview.appspot.com/10209038/diff/1/ash/system/date/date_view.h File ash/system/date/date_view.h (right): https://chromiumcodereview.appspot.com/10209038/diff/1/ash/system/date/date_view.h#newcode24 ash/system/date/date_view.h:24: class BaseDateTimeView : public ActionableView { Let me know ...
8 years, 8 months ago (2012-04-27 23:22:06 UTC) #1
sadrul
http://codereview.chromium.org/10209038/diff/1/ash/system/date/date_view.cc File ash/system/date/date_view.cc (right): http://codereview.chromium.org/10209038/diff/1/ash/system/date/date_view.cc#newcode121 ash/system/date/date_view.cc:121: -newline. Perhaps move implementation of BaseDateTimeView above DateView http://codereview.chromium.org/10209038/diff/1/ash/system/date/date_view.cc#newcode131 ...
8 years, 7 months ago (2012-04-30 15:05:52 UTC) #2
Daniel Erat
http://codereview.chromium.org/10209038/diff/1/ash/system/date/date_view.cc File ash/system/date/date_view.cc (right): http://codereview.chromium.org/10209038/diff/1/ash/system/date/date_view.cc#newcode121 ash/system/date/date_view.cc:121: On 2012/04/30 15:05:52, sadrul wrote: > -newline. Perhaps move ...
8 years, 7 months ago (2012-04-30 17:12:43 UTC) #3
sadrul
lgtm
8 years, 7 months ago (2012-04-30 17:21:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10209038/4002
8 years, 7 months ago (2012-04-30 20:01:28 UTC) #5
commit-bot: I haz the power
8 years, 7 months ago (2012-04-30 20:14:19 UTC) #6
Try job failure for 10209038-4002 on win_rel for step "update".
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Step "update" is always a major failure.
Look at the try server FAQ for more details.

Powered by Google App Engine
This is Rietveld 408576698