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 b0f71b1aa8a6ac99263d12e8a81fd1873212af17..1f4397e183c140878ece7779eadd5fd7d35c2ad0 100644 |
--- a/ash/common/system/tray/tray_constants.cc |
+++ b/ash/common/system/tray/tray_constants.cc |
@@ -117,6 +117,8 @@ int GetTrayConstant(TrayConstant constant) { |
const int kTrayPopupItemRightInset[] = {0, 0, 0}; |
const int kTrayPopupItemMinStartWidth[] = {46, 48, 48}; |
const int kTrayPopupItemMinEndWidth[] = {40, 40, 40}; |
+ const int kTrayPopupTransitionToDefaultViewDelayMs[] = {0, 80, 100}; |
+ const int kTrayPopupTransitionToDetailedViewDelayMs[] = {0, 80, 100}; |
const int kVirtualKeyboardButtonSize[] = {39, kTrayItemSize, kTrayItemSize}; |
const int kTrayImeMenuIcon[] = {40, kTrayItemSize, kTrayItemSize}; |
const int kTrayImageItemPadding[] = {1, 3, 3}; |
@@ -150,6 +152,10 @@ int GetTrayConstant(TrayConstant constant) { |
return kTrayPopupItemMinStartWidth[mode]; |
case TRAY_POPUP_ITEM_MIN_END_WIDTH: |
return kTrayPopupItemMinEndWidth[mode]; |
+ case TRAY_POPUP_TRANSITION_TO_DEFAULT_DELAY: |
+ return kTrayPopupTransitionToDefaultViewDelayMs[mode]; |
+ case TRAY_POPUP_TRANSITION_TO_DETAILED_DELAY: |
+ return kTrayPopupTransitionToDetailedViewDelayMs[mode]; |
case VIRTUAL_KEYBOARD_BUTTON_SIZE: |
return kVirtualKeyboardButtonSize[mode]; |
case TRAY_IME_MENU_ICON: |