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

Unified Diff: ash/system/tray/tray_utils.cc

Issue 2823133002: Clean up some ash constants. (Closed)
Patch Set: updates Created 3 years, 8 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/system/tray/tray_utils.cc
diff --git a/ash/system/tray/tray_utils.cc b/ash/system/tray/tray_utils.cc
index baf8fa9608aa9bd03844fb72c276fb48bf9ae26b..6b60b1256872e8cdfb3d334bf8dc8a6edac49b5a 100644
--- a/ash/system/tray/tray_utils.cc
+++ b/ash/system/tray/tray_utils.cc
@@ -4,6 +4,7 @@
#include "ash/system/tray/tray_utils.h"
+#include "ash/system/tray/tray_constants.h"
#include "ui/gfx/font_list.h"
#include "ui/views/controls/label.h"
@@ -13,8 +14,8 @@ void SetupLabelForTray(views::Label* label) {
// The text is drawn on an transparent bg, so we must disable subpixel
// rendering.
label->SetSubpixelRenderingEnabled(false);
- label->SetFontList(
- gfx::FontList().Derive(2, gfx::Font::NORMAL, gfx::Font::Weight::MEDIUM));
+ label->SetFontList(gfx::FontList().Derive(
+ kTrayTextFontSizeIncrease, gfx::Font::NORMAL, gfx::Font::Weight::MEDIUM));
}
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698