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

Unified Diff: chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc

Issue 1921403002: Pin apps from prefs on the mash shelf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Only include arc for cros. Created 4 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: chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
index 7b13f69e7391ab70d035c057a02f7cb1ed670976..4dacb79b55fa9df86e8f793b1298333cb5c4c11d 100644
--- a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
@@ -200,7 +200,7 @@ AppShortcutLauncherItemController::ItemSelected(const ui::Event& event) {
}
base::string16 AppShortcutLauncherItemController::GetTitle() {
- return GetAppTitle();
+ return GetAppTitle(launcher_controller()->profile(), app_id());
}
ash::ShelfMenuModel* AppShortcutLauncherItemController::CreateApplicationMenu(

Powered by Google App Engine
This is Rietveld 408576698