Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2839)

Unified Diff: athena/home/public/search_controller_factory.h

Issue 640103002: Adds full-functional search results for Athena on Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix DEPS Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/home/public/home_card.h ('k') | athena/main/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/home/public/search_controller_factory.h
diff --git a/athena/home/public/search_controller_factory.h b/athena/home/public/search_controller_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..b004b38317e76fbbb21ecbb92cd632a51b4478e4
--- /dev/null
+++ b/athena/home/public/search_controller_factory.h
@@ -0,0 +1,29 @@
+// 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_HOME_PUBLIC_SEARCH_CONTROLLER_FACTORY_H_
+#define ATHENA_HOME_PUBLIC_SEARCH_CONTROLLER_FACTORY_H_
+
+#include "athena/athena_export.h"
+#include "ui/app_list/app_list_model.h"
+#include "ui/app_list/search_controller.h"
+
+namespace app_list {
+class SearchBoxModel;
+}
+
+namespace athena {
+
+class ATHENA_EXPORT SearchControllerFactory {
+ public:
+ virtual ~SearchControllerFactory() {}
+
+ virtual scoped_ptr<app_list::SearchController> Create(
+ app_list::SearchBoxModel* search_box,
+ app_list::AppListModel::SearchResults* results) = 0;
+};
+
+} // namespace athena
+
+#endif // ATHENA_HOME_PUBLIC_SEARCH_CONTROLLER_FACTORY_H_
« no previous file with comments | « athena/home/public/home_card.h ('k') | athena/main/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698