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