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

Unified Diff: ash/common/system/tray/tray_constants.cc

Issue 2712733003: Remove non-MD code from VirtualKeyboardTray (Closed)
Patch Set: Addressed review comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/system/tray/tray_constants.h ('k') | ash/resources/ash_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6bf56323329f868ecf4027ceb1b5b543f9267ad8..43f6a24319c6755932a8efb0628c3202dc7c828b 100644
--- a/ash/common/system/tray/tray_constants.cc
+++ b/ash/common/system/tray/tray_constants.cc
@@ -119,7 +119,6 @@ int GetTrayConstant(TrayConstant constant) {
const int kTrayPopupItemLeftInset[] = {0, 4, 4};
const int kTrayPopupItemMinStartWidth[] = {46, 48, 48};
const int kTrayPopupItemMinEndWidth[] = {40, 40, 40};
- const int kVirtualKeyboardButtonSize[] = {39, kTrayItemSize, kTrayItemSize};
const int kTrayImeMenuIcon[] = {40, kTrayItemSize, kTrayItemSize};
const int kTrayImageItemPadding[] = {1, 3, 3};
@@ -147,8 +146,6 @@ int GetTrayConstant(TrayConstant constant) {
return kTrayPopupItemMinStartWidth[mode];
case TRAY_POPUP_ITEM_MIN_END_WIDTH:
return kTrayPopupItemMinEndWidth[mode];
- case VIRTUAL_KEYBOARD_BUTTON_SIZE:
- return kVirtualKeyboardButtonSize[mode];
case TRAY_IME_MENU_ICON:
return kTrayImeMenuIcon[mode];
case TRAY_IMAGE_ITEM_PADDING:
« no previous file with comments | « ash/common/system/tray/tray_constants.h ('k') | ash/resources/ash_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698