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

Issue 256883002: Update notification style: allow 2-line titles if the message is blank. (Closed)

Created:
6 years, 8 months ago by dewittj
Modified:
6 years, 7 months ago
Reviewers:
Robert Sesek, Jun Mukai
CC:
chromium-reviews
Visibility:
Public.

Description

Update notification style: allow 2-line titles if the message is blank. This is to support longer text in simple notifications. BUG=361890 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266767

Patch Set 1 #

Patch Set 2 : Make the invisible message stop taking up space. #

Patch Set 3 : Adds a test. #

Total comments: 5

Patch Set 4 : Fix rsesek comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -6 lines) Patch
M ui/message_center/cocoa/notification_controller.mm View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M ui/message_center/cocoa/notification_controller_unittest.mm View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M ui/message_center/message_center_style.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/message_center/views/constants.h View 1 chunk +1 line, -2 lines 0 comments Download
M ui/message_center/views/notification_view.cc View 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
dewittj
6 years, 8 months ago (2014-04-25 23:48:37 UTC) #1
dewittj
6 years, 8 months ago (2014-04-25 23:49:06 UTC) #2
Jun Mukai
lgtm
6 years, 8 months ago (2014-04-26 00:08:48 UTC) #3
dewittj
rsesek: ping
6 years, 7 months ago (2014-04-28 20:45:55 UTC) #4
Robert Sesek
Sorry, please explicitly call out reviewers, otherwise it looks like just a CC. https://codereview.chromium.org/256883002/diff/40001/ui/message_center/cocoa/notification_controller.mm File ...
6 years, 7 months ago (2014-04-28 20:49:28 UTC) #5
dewittj
Will call you out in the future. Thanks for letting me know why it didn't ...
6 years, 7 months ago (2014-04-28 21:05:31 UTC) #6
Robert Sesek
lgtm https://codereview.chromium.org/256883002/diff/40001/ui/message_center/cocoa/notification_controller.mm File ui/message_center/cocoa/notification_controller.mm (right): https://codereview.chromium.org/256883002/diff/40001/ui/message_center/cocoa/notification_controller.mm#newcode350 ui/message_center/cocoa/notification_controller.mm:350: setString:base::SysUTF16ToNSString([self wrapText:notification_->title() On 2014/04/28 21:05:32, dewittj wrote: > ...
6 years, 7 months ago (2014-04-28 21:07:28 UTC) #7
dewittj
The CQ bit was checked by dewittj@chromium.org
6 years, 7 months ago (2014-04-28 21:08:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dewittj@chromium.org/256883002/60001
6 years, 7 months ago (2014-04-28 21:09:37 UTC) #9
commit-bot: I haz the power
6 years, 7 months ago (2014-04-29 07:31:17 UTC) #10
Message was sent while issue was closed.
Change committed as 266767

Powered by Google App Engine
This is Rietveld 408576698