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

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

Issue 2709903004: Consolidate some more ash tray constants. (Closed)
Patch Set: rebase 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
Index: ash/common/system/tray/system_tray_bubble.cc
diff --git a/ash/common/system/tray/system_tray_bubble.cc b/ash/common/system/tray/system_tray_bubble.cc
index c08e00e60430eed4b30a34f263cdbc241a9103bc..de26d96ccd144ff1d0adf23d230eadfb2156a778 100644
--- a/ash/common/system/tray/system_tray_bubble.cc
+++ b/ash/common/system/tray/system_tray_bubble.cc
@@ -38,7 +38,7 @@ namespace {
// be too short, so we use this as a default and minimum height for any
// detailed view.
int GetDetailedBubbleMaxHeight() {
- return GetTrayConstant(TRAY_POPUP_ITEM_MIN_HEIGHT) * 5;
+ return kTrayPopupItemMinHeight * 5;
}
// Duration of swipe animation used when transitioning from a default to

Powered by Google App Engine
This is Rietveld 408576698