| Index: chrome/browser/ui/views/aura/app_list/app_list_view_delegate.cc
|
| diff --git a/chrome/browser/ui/views/aura/app_list/app_list_view_delegate.cc b/chrome/browser/ui/views/aura/app_list/app_list_view_delegate.cc
|
| index cf222442d217e089bf2cad63fe9d6e83c531cfd2..86eb9e1b2fdbfebf60c238b8e5b6b5abfe1dbf42 100644
|
| --- a/chrome/browser/ui/views/aura/app_list/app_list_view_delegate.cc
|
| +++ b/chrome/browser/ui/views/aura/app_list/app_list_view_delegate.cc
|
| @@ -1,9 +1,11 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| #include "chrome/browser/ui/views/aura/app_list/app_list_view_delegate.h"
|
|
|
| +#include "chrome/browser/profiles/profile_manager.h"
|
| +#include "chrome/browser/ui/views/aura/app_list/app_list_model_builder.h"
|
| #include "chrome/browser/ui/views/aura/app_list/chrome_app_list_item.h"
|
|
|
| AppListViewDelegate::AppListViewDelegate() {
|
| @@ -12,6 +14,13 @@ AppListViewDelegate::AppListViewDelegate() {
|
| AppListViewDelegate::~AppListViewDelegate() {
|
| }
|
|
|
| +void AppListViewDelegate::BuildAppListModel(const std::string& query,
|
| + ash::AppListModel* model) {
|
| + AppListModelBuilder builder(ProfileManager::GetDefaultProfile(),
|
| + model);
|
| + builder.Build(query);
|
| +}
|
| +
|
| void AppListViewDelegate::OnAppListItemActivated(
|
| ash::AppListItemModel* item,
|
| int event_flags) {
|
|
|