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

Unified Diff: ash/common/system/chromeos/ime_menu/ime_list_view.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/ime_menu/ime_list_view.cc
diff --git a/ash/common/system/chromeos/ime_menu/ime_list_view.cc b/ash/common/system/chromeos/ime_menu/ime_list_view.cc
index 45383d1f109233b6a1eb0739945c4e427c962ded..e156720f7b97852873f61e4375e956a9a9f204d7 100644
--- a/ash/common/system/chromeos/ime_menu/ime_list_view.cc
+++ b/ash/common/system/chromeos/ime_menu/ime_list_view.cc
@@ -53,7 +53,7 @@ class SelectableHoverHighlightView : public HoverHighlightView {
const base::string16& label,
bool selected)
: HoverHighlightView(listener), selected_(selected) {
- AddLabel(label, gfx::ALIGN_LEFT, selected);
+ AddLabelDeprecated(label, gfx::ALIGN_LEFT, selected);
}
~SelectableHoverHighlightView() override {}
@@ -371,7 +371,7 @@ void ImeListView::AppendKeyboardStatus() {
HoverHighlightView* container = new HoverHighlightView(this);
int id = keyboard::IsKeyboardEnabled() ? IDS_ASH_STATUS_TRAY_DISABLE_KEYBOARD
: IDS_ASH_STATUS_TRAY_ENABLE_KEYBOARD;
- container->AddLabel(
+ container->AddLabelDeprecated(
ui::ResourceBundle::GetSharedInstance().GetLocalizedString(id),
gfx::ALIGN_LEFT, false /* highlight */);
scroll_content()->AddChildView(container);

Powered by Google App Engine
This is Rietveld 408576698