Commit 61e3a402 authored by skuhne@google.com's avatar skuhne@google.com

Fixing icon ordering problem between browser and running windowed applications

The ordering has recently changed and some alternate shelf layout got not corrected.

BUG=346678
TEST=visual testing
R=flackr@chromium.org

Review URL: https://codereview.chromium.org/215693004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260187 0039d316-1c4b-4281-b951-d872f2087c98
parent b3e2309d
......@@ -1881,9 +1881,9 @@ int ChromeLauncherController::FindInsertionPoint(bool is_app_list) {
ash::ShelfItemType type = model_->items()[i].type;
if (type == ash::TYPE_APP_SHORTCUT ||
((is_app_list || alternate) && type == ash::TYPE_APP_LIST) ||
type == ash::TYPE_BROWSER_SHORTCUT ||
type == ash::TYPE_WINDOWED_APP)
type == ash::TYPE_BROWSER_SHORTCUT) {
return i;
}
}
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment