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

Unified Diff: ash/common/system/chromeos/audio/audio_detailed_view.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/audio/audio_detailed_view.cc
diff --git a/ash/common/system/chromeos/audio/audio_detailed_view.cc b/ash/common/system/chromeos/audio/audio_detailed_view.cc
index b1ecca5f6394f6f78931909499fb8188b1f39539..3fee3b223e66e72681d466ce58cfc3692cf7d1f9 100644
--- a/ash/common/system/chromeos/audio/audio_detailed_view.cc
+++ b/ash/common/system/chromeos/audio/audio_detailed_view.cc
@@ -138,7 +138,7 @@ HoverHighlightView* AudioDetailedView::AddScrollListItem(
HoverHighlightView* container = new HoverHighlightView(this);
if (MaterialDesignController::IsSystemTrayMenuMaterial()) {
- container->AddLabelRowMd(text);
+ container->AddLabelRow(text);
if (checked) {
gfx::ImageSkia check_mark = gfx::CreateVectorIcon(
gfx::VectorIconId::CHECK_CIRCLE, gfx::kGoogleGreen700);
@@ -150,8 +150,6 @@ HoverHighlightView* AudioDetailedView::AddScrollListItem(
container->SetAccessiblityState(
HoverHighlightView::AccessibilityState::UNCHECKED_CHECKBOX);
}
- } else {
- container->AddCheckableLabel(text, highlight, checked);
}
scroll_content()->AddChildView(container);
« no previous file with comments | « no previous file | ash/common/system/chromeos/bluetooth/tray_bluetooth.cc » ('j') | ash/common/system/tray/hover_highlight_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698