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

Unified Diff: ash/common/system/chromeos/audio/volume_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 | « no previous file | ash/common/system/chromeos/ime_menu/ime_menu_tray.cc » ('j') | no next file with comments »
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 ddb9ec759e04351b5d0210c4c32b519d2b776288..07719062149ad39654c2660e49920d51496b4a5f 100644
--- a/ash/common/system/chromeos/audio/volume_view.cc
+++ b/ash/common/system/chromeos/audio/volume_view.cc
@@ -132,9 +132,10 @@ VolumeView::VolumeView(SystemTrayItem* owner,
more_button_ = new ButtonListenerActionableView(
owner_, TrayPopupInkDropStyle::INSET_BOUNDS, this);
TrayPopupUtils::ConfigureContainer(TriView::Container::END, more_button_);
+
more_button_->SetInkDropMode(views::InkDropHostView::InkDropMode::ON);
more_button_->SetBorder(views::CreateEmptyBorder(gfx::Insets(
- 0, GetTrayConstant(TRAY_POPUP_ITEM_MORE_REGION_HORIZONTAL_INSET))));
+ 0, kTrayPopupButtonEndMargin)));
tri_view_->AddView(TriView::Container::END, more_button_);
device_type_ = TrayPopupUtils::CreateMoreImageView();
« no previous file with comments | « no previous file | ash/common/system/chromeos/ime_menu/ime_menu_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698