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

Unified Diff: ash/common/system/chromeos/cast/tray_cast.cc

Issue 2696033003: [Ash MD] Remove some non-MD code from HoverHighlightView (Closed)
Patch Set: 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
Index: ash/common/system/chromeos/cast/tray_cast.cc
diff --git a/ash/common/system/chromeos/cast/tray_cast.cc b/ash/common/system/chromeos/cast/tray_cast.cc
index 0e3705c5e310efa85e499eff60237d4cef933eb7..c2ddcc8a3ffd7a58fc48da7fd0e3ce30de8c91d4 100644
--- a/ash/common/system/chromeos/cast/tray_cast.cc
+++ b/ash/common/system/chromeos/cast/tray_cast.cc
@@ -433,10 +433,7 @@ views::View* CastDetailedView::AddToReceiverList(
.ToImageSkia();
HoverHighlightView* container = new HoverHighlightView(this);
- container->AddIconAndLabelCustomSize(
- image, base::UTF8ToUTF16(sink_route->sink->name), false,
- kTrayPopupDetailsIconWidth, kTrayPopupPaddingHorizontal,
- kTrayPopupPaddingBetweenItems);
+ container->AddIconAndLabel(image, base::UTF8ToUTF16(sink_route->sink->name));
scroll_content()->AddChildView(container);
return container;

Powered by Google App Engine
This is Rietveld 408576698