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

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

Issue 68243002: ash: Rename LauncherModelObserver to ShelfModelObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/chrome_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
index ba69ae8115dac458f1bbf771bf433b0a9d2651ea..7f5ad097a4c1a82619eb511a3f5add1582447f52 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
@@ -1097,7 +1097,7 @@ void ChromeLauncherController::OnLauncherDestroyed(ash::Launcher* launcher) {
// Launcher is already in its destructor.
}
-void ChromeLauncherController::LauncherItemAdded(int index) {
+void ChromeLauncherController::ShelfItemAdded(int index) {
// The app list launcher can get added to the shelf after we applied the
// preferences. In that case the item might be at the wrong spot. As such we
// call the function again.
@@ -1106,12 +1106,11 @@ void ChromeLauncherController::LauncherItemAdded(int index) {
UpdateAppLaunchersFromPref();
}
-void ChromeLauncherController::LauncherItemRemoved(int index,
- ash::LauncherID id) {
+void ChromeLauncherController::ShelfItemRemoved(int index, ash::LauncherID id) {
}
-void ChromeLauncherController::LauncherItemMoved(int start_index,
- int target_index) {
+void ChromeLauncherController::ShelfItemMoved(int start_index,
+ int target_index) {
const ash::LauncherItem& item = model_->items()[target_index];
// We remember the moved item position if it is either pinnable or
// it is the app list with the alternate shelf layout.
@@ -1121,12 +1120,12 @@ void ChromeLauncherController::LauncherItemMoved(int start_index,
PersistPinnedState();
}
-void ChromeLauncherController::LauncherItemChanged(
+void ChromeLauncherController::ShelfItemChanged(
int index,
const ash::LauncherItem& old_item) {
}
-void ChromeLauncherController::LauncherStatusChanged() {
+void ChromeLauncherController::ShelfStatusChanged() {
}
void ChromeLauncherController::ActiveUserChanged(

Powered by Google App Engine
This is Rietveld 408576698