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

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

Issue 152223002: Renames LauncherID, LauncherItem and LauncherItems... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OWNERS Created 6 years, 11 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
« no previous file with comments | « chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc
index 5370c6eeb8c2f11cf2faccd4b3a30a888e01f532..d3613f84b815a1fe3bff8f588b1fba4ee4bc750a 100644
--- a/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc
@@ -67,12 +67,12 @@ class ShellWindowHasWindow {
ShellWindowLauncherItemController::ShellWindowLauncherItemController(
Type type,
- const std::string& app_launcher_id,
+ const std::string& app_shelf_id,
const std::string& app_id,
ChromeLauncherController* controller)
: LauncherItemController(type, app_id, controller),
last_active_shell_window_(NULL),
- app_launcher_id_(app_launcher_id),
+ app_shelf_id_(app_shelf_id),
observed_windows_(this) {
}
@@ -224,8 +224,8 @@ base::string16 ShellWindowLauncherItemController::GetTitle() {
ui::MenuModel* ShellWindowLauncherItemController::CreateContextMenu(
aura::Window* root_window) {
- ash::LauncherItem item =
- *(launcher_controller()->model()->ItemByID(launcher_id()));
+ ash::ShelfItem item =
+ *(launcher_controller()->model()->ItemByID(shelf_id()));
return new LauncherContextMenu(launcher_controller(), &item, root_window);
}
@@ -259,7 +259,7 @@ void ShellWindowLauncherItemController::OnWindowPropertyChanged(
} else {
status = ash::STATUS_RUNNING;
}
- launcher_controller()->SetItemStatus(launcher_id(), status);
+ launcher_controller()->SetItemStatus(shelf_id(), status);
}
}
« no previous file with comments | « chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698