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

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

Issue 2391253004: Use mojo Shelf interfaces for both mash and classic ash. (Closed)
Patch Set: Address comments. Created 4 years, 2 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_window_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
index b703325a4b224d921e3a60fe3d6ba89c95ee7e79..7f1e3028dca558639bcb31b100ac1090d4b45355 100644
--- a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
@@ -140,8 +140,8 @@ AppWindowLauncherItemController::ItemSelected(const ui::Event& event) {
}
base::string16 AppWindowLauncherItemController::GetTitle() {
- return LauncherControllerHelper::GetAppTitle(
- launcher_controller()->GetProfile(), app_id());
+ return LauncherControllerHelper::GetAppTitle(launcher_controller()->profile(),
+ app_id());
}
bool AppWindowLauncherItemController::IsDraggable() {
@@ -150,7 +150,7 @@ bool AppWindowLauncherItemController::IsDraggable() {
}
bool AppWindowLauncherItemController::CanPin() const {
- return GetPinnableForAppID(app_id(), launcher_controller()->GetProfile()) ==
+ return GetPinnableForAppID(app_id(), launcher_controller()->profile()) ==
AppListControllerDelegate::PIN_EDITABLE;
}

Powered by Google App Engine
This is Rietveld 408576698