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

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

Issue 2698213004: Start removing some pre-md constants and related code. (Closed)
Patch Set: actually use the constant 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_details_view_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_popup_utils.cc
diff --git a/ash/common/system/tray/tray_popup_utils.cc b/ash/common/system/tray/tray_popup_utils.cc
index b409a3ece4a200957e0cf8de438af6dcd9afd8a9..e04818929fc9dc1986a752d8ed7d7b0cc411d520 100644
--- a/ash/common/system/tray/tray_popup_utils.cc
+++ b/ash/common/system/tray/tray_popup_utils.cc
@@ -173,9 +173,7 @@ TriView* TrayPopupUtils::CreateDefaultRowView() {
TriView* TrayPopupUtils::CreateSubHeaderRowView() {
TriView* tri_view = CreateMultiTargetRowView();
- tri_view->SetInsets(
- gfx::Insets(0, kTrayPopupPaddingHorizontal, 0,
- GetTrayConstant(TRAY_POPUP_ITEM_RIGHT_INSET)));
+ tri_view->SetInsets(gfx::Insets(0, kTrayPopupPaddingHorizontal, 0, 0));
tri_view->SetContainerVisible(TriView::Container::START, false);
tri_view->SetContainerLayout(
TriView::Container::END,
@@ -187,8 +185,7 @@ TriView* TrayPopupUtils::CreateMultiTargetRowView() {
TriView* tri_view = new TriView(0 /* padding_between_items */);
tri_view->SetInsets(
- gfx::Insets(0, GetTrayConstant(TRAY_POPUP_ITEM_LEFT_INSET), 0,
- GetTrayConstant(TRAY_POPUP_ITEM_RIGHT_INSET)));
+ gfx::Insets(0, GetTrayConstant(TRAY_POPUP_ITEM_LEFT_INSET), 0, 0));
ConfigureDefaultSizeAndFlex(tri_view, TriView::Container::START);
ConfigureDefaultSizeAndFlex(tri_view, TriView::Container::CENTER);
« no previous file with comments | « ash/common/system/tray/tray_details_view_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698