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

Unified Diff: ash/common/system/chromeos/audio/volume_view.cc

Issue 2675893002: Remove some pre-md code from TrayPopupUtils and UserView. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | ash/common/system/tray/system_menu_button.cc » ('j') | ash/common/system/user/user_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/audio/volume_view.cc
diff --git a/ash/common/system/chromeos/audio/volume_view.cc b/ash/common/system/chromeos/audio/volume_view.cc
index e12511c56c09decb3ced08eff2b3890c42e1f5ba..7668f235b9233a25db5c0d81d832d135e6751add 100644
--- a/ash/common/system/chromeos/audio/volume_view.cc
+++ b/ash/common/system/chromeos/audio/volume_view.cc
@@ -185,9 +185,8 @@ VolumeView::VolumeView(SystemTrayItem* owner,
more_button_->SetFocusBehavior(FocusBehavior::NEVER);
device_type_ = TrayPopupUtils::CreateMoreImageView();
- more_button_->SetBorder(views::CreateEmptyBorder(
- 0, GetTrayConstant(TRAY_POPUP_ITEM_MORE_REGION_HORIZONTAL_INSET), 0,
- GetTrayConstant(TRAY_POPUP_ITEM_MORE_REGION_HORIZONTAL_INSET)));
+ more_button_->SetBorder(views::CreateEmptyBorder(gfx::Insets(
+ 0, GetTrayConstant(TRAY_POPUP_ITEM_MORE_REGION_HORIZONTAL_INSET))));
more_button_->AddChildView(device_type_);
views::ImageView* more_arrow = TrayPopupUtils::CreateMoreImageView();
« no previous file with comments | « no previous file | ash/common/system/tray/system_menu_button.cc » ('j') | ash/common/system/user/user_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698