Index: ash/launcher/launcher_model.cc |
diff --git a/ash/launcher/launcher_model.cc b/ash/launcher/launcher_model.cc |
index 7f6e113ff16f326a8774ce95d295e91c91cbc543..fd78301ded43a455bb35ede8edf3be0c4ebb0d46 100644 |
--- a/ash/launcher/launcher_model.cc |
+++ b/ash/launcher/launcher_model.cc |
@@ -14,15 +14,15 @@ namespace { |
int LauncherItemTypeToWeight(LauncherItemType type) { |
switch (type) { |
- case TYPE_BROWSER_SHORTCUT: |
+ case TYPE_APP_LIST: |
return 0; |
- case TYPE_APP_SHORTCUT: |
+ case TYPE_BROWSER_SHORTCUT: |
return 1; |
+ case TYPE_APP_SHORTCUT: |
+ return 2; |
case TYPE_TABBED: |
case TYPE_APP_PANEL: |
case TYPE_PLATFORM_APP: |
- return 2; |
- case TYPE_APP_LIST: |
return 3; |
} |
@@ -45,8 +45,8 @@ LauncherModel::LauncherModel() : next_id_(1), status_(STATUS_NORMAL) { |
browser_shortcut.type = TYPE_BROWSER_SHORTCUT; |
browser_shortcut.is_incognito = false; |
- AddAt(0, browser_shortcut); |
- AddAt(1, app_list); |
+ AddAt(0, app_list); |
+ AddAt(1, browser_shortcut); |
} |
LauncherModel::~LauncherModel() { |