blob: 2438abb4d0c1f772b3d52652ad63ad6f50f3c5dd [file] [log] [blame]
// Copyright 2014 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.
#ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_CONTROLLER_FACTORY_H_
#define CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_CONTROLLER_FACTORY_H_
#include "base/memory/scoped_ptr.h"
#include "ui/app_list/app_list_model.h"
class AppListControllerDelegate;
class Profile;
namespace app_list {
class SearchBoxModel;
class SearchController;
// Build a SearchController instance with the profile.
scoped_ptr<SearchController> CreateSearchController(
Profile* profile,
SearchBoxModel* search_box,
AppListModel::SearchResults* results,
AppListControllerDelegate* list_controller);
} // namespace app_list
#endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_CONTROLLER_FACTORY_H_