| Index: athena/extensions/shell/shell_search_controller_factory.h
|
| diff --git a/athena/extensions/shell/shell_search_controller_factory.h b/athena/extensions/shell/shell_search_controller_factory.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..971f54051b15d8d4a44c8f6e8513b4da5a865a20
|
| --- /dev/null
|
| +++ b/athena/extensions/shell/shell_search_controller_factory.h
|
| @@ -0,0 +1,34 @@
|
| +// 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 ATHENA_EXTENSIONS_SHELL_SHELL_SEARCH_CONTROLLER_FACTORY_H_
|
| +#define ATHENA_EXTENSIONS_SHELL_SHELL_SEARCH_CONTROLLER_FACTORY_H_
|
| +
|
| +#include "athena/home/public/search_controller_factory.h"
|
| +
|
| +namespace content {
|
| +class BrowserContext;
|
| +}
|
| +
|
| +namespace athena {
|
| +
|
| +class ShellSearchControllerFactory : public SearchControllerFactory {
|
| + public:
|
| + explicit ShellSearchControllerFactory(
|
| + content::BrowserContext* browser_context);
|
| + virtual ~ShellSearchControllerFactory();
|
| +
|
| + virtual scoped_ptr<app_list::SearchController> Create(
|
| + app_list::SearchBoxModel* search_box,
|
| + app_list::AppListModel::SearchResults* results) override;
|
| +
|
| + private:
|
| + content::BrowserContext* browser_context_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ShellSearchControllerFactory);
|
| +};
|
| +
|
| +} // namespace athena
|
| +
|
| +#endif // ATHENA_EXTENSIONS_SHELL_SHELL_SEARCH_CONTROLLER_FACTORY_H_
|
|
|