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

Issue 16159005: [Mac][MC] Adjust the size of the status item view based on the unread count. (Closed)

Created:
7 years, 6 months ago by Robert Sesek
Modified:
7 years, 6 months ago
Reviewers:
sail, dewittj
CC:
chromium-reviews, sail+watch_chromium.org
Visibility:
Public.

Description

[Mac][MC] Adjust the size of the status item view based on the unread count. This also adjusts the baseline and min-X of the unread count. BUG=243935 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202962

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase #

Patch Set 3 : Device metrics sizing #

Total comments: 4

Patch Set 4 : Nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -30 lines) Patch
M ui/message_center/cocoa/status_item_view.mm View 1 2 3 5 chunks +66 lines, -30 lines 0 comments Download
M ui/message_center/cocoa/status_item_view_unittest.mm View 1 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Robert Sesek
Screen shot: http://cl.ly/image/0s3F1g341n0i
7 years, 6 months ago (2013-05-28 19:07:42 UTC) #1
sail
lgtm https://codereview.chromium.org/16159005/diff/1/ui/message_center/cocoa/status_item_view.mm File ui/message_center/cocoa/status_item_view.mm (right): https://codereview.chromium.org/16159005/diff/1/ui/message_center/cocoa/status_item_view.mm#newcode21 ui/message_center/cocoa/status_item_view.mm:21: // The width of the status bar item ...
7 years, 6 months ago (2013-05-28 19:40:22 UTC) #2
dewittj
On 2013/05/28 19:40:22, sail wrote: > lgtm > > https://codereview.chromium.org/16159005/diff/1/ui/message_center/cocoa/status_item_view.mm > File ui/message_center/cocoa/status_item_view.mm (right): > ...
7 years, 6 months ago (2013-05-28 19:49:32 UTC) #3
Robert Sesek
PTAL. Switched to the approach Sailesh was expecting, using AppKit to provide the subpixel bounding ...
7 years, 6 months ago (2013-05-29 16:43:03 UTC) #4
sail
lgtm https://codereview.chromium.org/16159005/diff/5002/ui/message_center/cocoa/status_item_view.mm File ui/message_center/cocoa/status_item_view.mm (right): https://codereview.chromium.org/16159005/diff/5002/ui/message_center/cocoa/status_item_view.mm#newcode65 ui/message_center/cocoa/status_item_view.mm:65: if (unreadCount_ == 0) { Small nit. It ...
7 years, 6 months ago (2013-05-29 16:58:43 UTC) #5
dewittj
lgtm
7 years, 6 months ago (2013-05-29 17:20:30 UTC) #6
Robert Sesek
https://codereview.chromium.org/16159005/diff/5002/ui/message_center/cocoa/status_item_view.mm File ui/message_center/cocoa/status_item_view.mm (right): https://codereview.chromium.org/16159005/diff/5002/ui/message_center/cocoa/status_item_view.mm#newcode65 ui/message_center/cocoa/status_item_view.mm:65: if (unreadCount_ == 0) { On 2013/05/29 16:58:43, sail ...
7 years, 6 months ago (2013-05-29 17:52:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/16159005/15001
7 years, 6 months ago (2013-05-29 17:53:29 UTC) #8
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 20:56:33 UTC) #9
Message was sent while issue was closed.
Change committed as 202962

Powered by Google App Engine
This is Rietveld 408576698