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

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

Issue 2709903004: Consolidate some more ash tray constants. (Closed)
Patch Set: rebase/review 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/system_tray_bubble.cc ('k') | ash/common/system/tray/tray_background_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/throbber_view.cc
diff --git a/ash/common/system/tray/throbber_view.cc b/ash/common/system/tray/throbber_view.cc
index d326d81deb31271d81f283cc914cfa5d531d54ce..e345fdc7c7be76b7332cea59eceea67155924cbf 100644
--- a/ash/common/system/tray/throbber_view.cc
+++ b/ash/common/system/tray/throbber_view.cc
@@ -48,8 +48,7 @@ ThrobberView::ThrobberView() {
ThrobberView::~ThrobberView() {}
gfx::Size ThrobberView::GetPreferredSize() const {
- int size = GetTrayConstant(TRAY_POPUP_ITEM_MIN_HEIGHT);
- return gfx::Size(size, size);
+ return gfx::Size(kTrayPopupItemMinHeight, kTrayPopupItemMinHeight);
}
void ThrobberView::Layout() {
« no previous file with comments | « ash/common/system/tray/system_tray_bubble.cc ('k') | ash/common/system/tray/tray_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698