| Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc
|
| index 3425019e5c62d0fb5da37b6a2fe0eefdc7be9f65..a1e9c3d41c9813b56a192102bf01e0e3288a158d 100644
|
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc
|
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc
|
| @@ -326,10 +326,13 @@ ash::LauncherID ChromeLauncherControllerPerApp::CreateAppLauncherItem(
|
| const std::string& app_id,
|
| ash::LauncherItemStatus status) {
|
| CHECK(controller);
|
| + // Panels are inserted on the left so as not to push all existing panels over.
|
| + int index = controller->GetLauncherItemType() == ash::TYPE_APP_PANEL ?
|
| + 0 : model_->item_count();
|
| return InsertAppLauncherItem(controller,
|
| app_id,
|
| status,
|
| - model_->item_count(),
|
| + index,
|
| controller->GetLauncherItemType());
|
| }
|
|
|
|
|