Index: athena/content/content_app_model_builder.cc |
diff --git a/athena/content/content_app_model_builder.cc b/athena/content/content_app_model_builder.cc |
index 06cb747c856a9a20a1f648e18df0c9f45ce6b4e6..bdec047aa260faf2a349e5b26a76531790e0be82 100644 |
--- a/athena/content/content_app_model_builder.cc |
+++ b/athena/content/content_app_model_builder.cc |
@@ -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( |