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

Issue 10809008: Make spacing between uber tray items consistent with UI spec. (Closed)

Created:
8 years, 5 months ago by jennyz
Modified:
8 years, 5 months ago
Reviewers:
sadrul
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Make spacing between uber tray items consistent with M22 UI spec. For bottom aligned launcher: 7 pixel padding around left/right of text tray item. 1 pixel padding around all sides of image tray item. 1 pixel around all sides of the uber tray (SystemTrayContainer). For vertical aligned launcher: 1 pixel padding around all sides of the image tray item. 4 pixel padding above and below the text tray item, and center the text horizontally. 1 pixel around all sides of the uber tray (SystemTrayContainer). BUG=125261 TEST=The spacing between urber tray items should be consistent. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=147963

Patch Set 1 #

Total comments: 6

Patch Set 2 : Refactor UpdateAfterShelfAlignment from CreateTrayView to SystemTrayItem. #

Total comments: 2

Patch Set 3 : Move SetTrayImageItemBorder etc to tray_views. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -15 lines) Patch
M ash/system/date/date_view.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M ash/system/ime/tray_ime.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/system/ime/tray_ime.cc View 1 3 chunks +7 lines, -2 lines 0 comments Download
M ash/system/network/tray_network.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/system/network/tray_network.cc View 1 2 chunks +6 lines, -1 line 0 comments Download
M ash/system/power/tray_power.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/system/power/tray_power.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M ash/system/tray/system_tray_item.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray_item.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ash/system/tray/tray_constants.h View 1 chunk +7 lines, -0 lines 0 comments Download
M ash/system/tray/tray_constants.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M ash/system/tray/tray_image_item.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/system/tray/tray_image_item.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M ash/system/tray/tray_item_view.h View 1 3 chunks +2 lines, -2 lines 0 comments Download
M ash/system/tray/tray_item_view.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/system/tray/tray_views.h View 1 2 3 chunks +12 lines, -0 lines 0 comments Download
M ash/system/tray/tray_views.cc View 1 2 2 chunks +34 lines, -0 lines 0 comments Download
M ash/system/user/tray_user.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/system/user/tray_user.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jennyz
8 years, 5 months ago (2012-07-18 23:20:19 UTC) #1
sadrul
http://codereview.chromium.org/10809008/diff/1/ash/system/ime/tray_ime.cc File ash/system/ime/tray_ime.cc (right): http://codereview.chromium.org/10809008/diff/1/ash/system/ime/tray_ime.cc#newcode255 ash/system/ime/tray_ime.cc:255: ash::Shell::GetInstance()->system_tray()->shelf_alignment()); Looks like this is necessary in all CreateTrayView. ...
8 years, 5 months ago (2012-07-19 16:46:28 UTC) #2
jennyz
http://codereview.chromium.org/10809008/diff/1/ash/system/ime/tray_ime.cc File ash/system/ime/tray_ime.cc (right): http://codereview.chromium.org/10809008/diff/1/ash/system/ime/tray_ime.cc#newcode255 ash/system/ime/tray_ime.cc:255: ash::Shell::GetInstance()->system_tray()->shelf_alignment()); On 2012/07/19 16:46:28, sadrul wrote: > Looks like ...
8 years, 5 months ago (2012-07-19 18:33:33 UTC) #3
sadrul
Refactoring would probably be useful. But if we don't refactor right now, see comment: http://codereview.chromium.org/10809008/diff/5001/ash/system/tray/system_tray_item.h ...
8 years, 5 months ago (2012-07-23 16:25:03 UTC) #4
jennyz
http://codereview.chromium.org/10809008/diff/5001/ash/system/tray/system_tray_item.h File ash/system/tray/system_tray_item.h (right): http://codereview.chromium.org/10809008/diff/5001/ash/system/tray/system_tray_item.h#newcode77 ash/system/tray/system_tray_item.h:77: ShelfAlignment alignment); On 2012/07/23 16:25:03, sadrul wrote: > Until ...
8 years, 5 months ago (2012-07-23 17:22:42 UTC) #5
sadrul
LGTM
8 years, 5 months ago (2012-07-23 20:55:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/10809008/13002
8 years, 5 months ago (2012-07-23 21:07:47 UTC) #7
jennyz
8 years, 5 months ago (2012-07-23 22:14:16 UTC) #8

          

Powered by Google App Engine
This is Rietveld 408576698