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

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

Issue 2795143005: [Ash] Remove pre-MD code paths from HoverHighlightView (Closed)
Patch Set: estade comments Created 3 years, 8 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 9da8418ddff494496e542ccb5f7cf3d9f7178124..efab10678871c43af41373b15bf90c8c77fddf05 100644
--- a/ash/common/system/chromeos/cast/tray_cast.cc
+++ b/ash/common/system/chromeos/cast/tray_cast.cc
@@ -402,10 +402,7 @@ views::View* CastDetailedView::AddToReceiverList(
gfx::CreateVectorIcon(kSystemMenuCastDeviceIcon, kMenuIconColor);
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