| 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 f37ae810be44fd680cc15a8e7de53974d8d4d52b..efb6f3c894b8792b579f3ce0e9e5dd6c630e4690 100644
|
| --- a/ash/common/system/tray/tray_constants.cc
|
| +++ b/ash/common/system/tray/tray_constants.cc
|
| @@ -29,11 +29,6 @@ const int kTrayImageItemHorizontalPaddingBottomAlignment = 1;
|
| const int kTrayImageItemHorizontalPaddingVerticalAlignment = 1;
|
| const int kTrayImageItemVerticalPaddingVerticalAlignment = 1;
|
|
|
| -// Size of IME menu tray.
|
| -const int kTrayImeIconSize = 40;
|
| -const int kTrayImeBottomRowPadding = 5;
|
| -const int kTrayImeBottomRowPaddingBetweenItems = 2;
|
| -
|
| // Size of tray items on the primary axis.
|
| const int kTrayItemSize = 32;
|
|
|
| @@ -99,6 +94,7 @@ int GetTrayConstant(TrayConstant constant) {
|
| const int kTrayPaddingFromEdgeOfShelf[] = {3, 3, 4};
|
| const int kTrayPopupItemHeight[] = {46, 46, 48};
|
| const int kVirtualKeyboardButtonSize[] = {39, 39, kTrayItemSize};
|
| + const int kTrayImeMenuIcon[] = {40, 40, kTrayItemSize};
|
|
|
| const int mode = MaterialDesignController::GetMode();
|
| DCHECK(mode >= MaterialDesignController::NON_MATERIAL &&
|
| @@ -115,6 +111,8 @@ int GetTrayConstant(TrayConstant constant) {
|
| return kTrayPopupItemHeight[mode];
|
| case VIRTUAL_KEYBOARD_BUTTON_SIZE:
|
| return kVirtualKeyboardButtonSize[mode];
|
| + case TRAY_IME_MENU_ICON:
|
| + return kTrayImeMenuIcon[mode];
|
| }
|
| NOTREACHED();
|
| return 0;
|
|
|