| 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 73fac1f4ba5492253ebabc20754e3c831a8a42a1..23326cd5c88cb3498dcfc0e9d768b14eb7b8b415 100644
|
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| @@ -38,6 +38,8 @@
|
| #include "chrome/browser/ui/ash/app_sync_ui_state.h"
|
| #include "chrome/browser/ui/ash/chrome_launcher_prefs.h"
|
| #include "chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h"
|
| +#include "chrome/browser/ui/ash/launcher/app_window_launcher_controller.h"
|
| +#include "chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h"
|
| #include "chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h"
|
| #include "chrome/browser/ui/ash/launcher/browser_status_monitor.h"
|
| #include "chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h"
|
| @@ -46,8 +48,6 @@
|
| #include "chrome/browser/ui/ash/launcher/chrome_launcher_types.h"
|
| #include "chrome/browser/ui/ash/launcher/launcher_app_tab_helper.h"
|
| #include "chrome/browser/ui/ash/launcher/launcher_item_controller.h"
|
| -#include "chrome/browser/ui/ash/launcher/shell_window_launcher_controller.h"
|
| -#include "chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h"
|
| #include "chrome/browser/ui/ash/multi_user/multi_user_util.h"
|
| #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h"
|
| #include "chrome/browser/ui/browser.h"
|
| @@ -89,8 +89,8 @@
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/chromeos/login/user_manager.h"
|
| #include "chrome/browser/ui/ash/chrome_shell_delegate.h"
|
| +#include "chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.h"
|
| #include "chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.h"
|
| -#include "chrome/browser/ui/ash/launcher/multi_profile_shell_window_launcher_controller.h"
|
| #endif
|
|
|
| using extensions::Extension;
|
| @@ -356,18 +356,18 @@ ChromeLauncherController::ChromeLauncherController(Profile* profile,
|
| // of status monitor.
|
| browser_status_monitor_.reset(new MultiProfileBrowserStatusMonitor(this));
|
| shell_window_controller_.reset(
|
| - new MultiProfileShellWindowLauncherController(this));
|
| + new MultiProfileAppWindowLauncherController(this));
|
| } else {
|
| // Create our v1/v2 application / browser monitors which will inform the
|
| // launcher of status changes.
|
| browser_status_monitor_.reset(new BrowserStatusMonitor(this));
|
| - shell_window_controller_.reset(new ShellWindowLauncherController(this));
|
| + shell_window_controller_.reset(new AppWindowLauncherController(this));
|
| }
|
| #else
|
| // Create our v1/v2 application / browser monitors which will inform the
|
| // launcher of status changes.
|
| browser_status_monitor_.reset(new BrowserStatusMonitor(this));
|
| - shell_window_controller_.reset(new ShellWindowLauncherController(this));
|
| + shell_window_controller_.reset(new AppWindowLauncherController(this));
|
| #endif
|
|
|
| // Right now ash::Shell isn't created for tests.
|
| @@ -1286,9 +1286,9 @@ void ChromeLauncherController::ActivateShellApp(const std::string& app_id,
|
| if (id) {
|
| LauncherItemController* controller = id_to_item_controller_map_[id];
|
| if (controller->type() == LauncherItemController::TYPE_APP) {
|
| - ShellWindowLauncherItemController* shell_window_controller =
|
| - static_cast<ShellWindowLauncherItemController*>(controller);
|
| - shell_window_controller->ActivateIndexedApp(index);
|
| + AppWindowLauncherItemController* app_window_controller =
|
| + static_cast<AppWindowLauncherItemController*>(controller);
|
| + app_window_controller->ActivateIndexedApp(index);
|
| }
|
| }
|
| }
|
|
|