| Index: ash/common/system/tray/tray_constants.cc
|
| diff --git a/ash/common/system/tray/tray_constants.cc b/ash/common/system/tray/tray_constants.cc
|
| index 77864d4b66ad35174fa89ebbf03aacdd69874c59..005ef3f65f78d19218ac8e6f02a05dfd1c476ced 100644
|
| --- a/ash/common/system/tray/tray_constants.cc
|
| +++ b/ash/common/system/tray/tray_constants.cc
|
| @@ -26,9 +26,7 @@ const int kBubblePaddingVerticalSide = 15;
|
| // Top inset of system tray bubble for bottom anchor alignment.
|
| const int kTrayBubbleAnchorTopInsetBottomAnchor = 3;
|
|
|
| -const int kTrayImageItemHorizontalPaddingBottomAlignment = 1;
|
| const int kTrayImageItemHorizontalPaddingVerticalAlignment = 1;
|
| -const int kTrayImageItemVerticalPaddingVerticalAlignment = 1;
|
|
|
| // Size of tray items on the primary axis.
|
| const int kTrayItemSize = 32;
|
| @@ -98,6 +96,7 @@ int GetTrayConstant(TrayConstant constant) {
|
| const int kTrayPopupItemHeight[] = {46, 46, 48};
|
| const int kVirtualKeyboardButtonSize[] = {39, 39, kTrayItemSize};
|
| const int kTrayImeMenuIcon[] = {40, 40, kTrayItemSize};
|
| + const int kTrayImageItemPadding[] = {1, 1, 3};
|
|
|
| const int mode = MaterialDesignController::GetMode();
|
| DCHECK(mode >= MaterialDesignController::NON_MATERIAL &&
|
| @@ -116,6 +115,8 @@ int GetTrayConstant(TrayConstant constant) {
|
| return kVirtualKeyboardButtonSize[mode];
|
| case TRAY_IME_MENU_ICON:
|
| return kTrayImeMenuIcon[mode];
|
| + case TRAY_IMAGE_ITEM_PADDING:
|
| + return kTrayImageItemPadding[mode];
|
| }
|
| NOTREACHED();
|
| return 0;
|
|
|