Commit 1466fb3f authored by mukai's avatar mukai Committed by Commit bot

filter apps that should not be in athena home card.

BUG=407777
R=oshima@chromium.org
TEST=manually

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

Cr-Commit-Position: refs/heads/master@{#293268}
parent 862c1780
......@@ -102,8 +102,11 @@ void ContentAppModelBuilder::PopulateApps(app_list::AppListModel* model) {
for (extensions::ExtensionSet::const_iterator iter = extensions.begin();
iter != extensions.end();
++iter) {
model->AddItem(scoped_ptr<app_list::AppListItem>(
new AppItem(*iter, browser_context_)));
// TODO(mukai): use chrome/browser/extension_ui_util.
if ((*iter)->ShouldDisplayInAppLauncher()) {
model->AddItem(scoped_ptr<app_list::AppListItem>(
new AppItem(*iter, browser_context_)));
}
}
model->AddItem(scoped_ptr<app_list::AppListItem>(new DummyItem(
......
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