1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ATHENA_HOME_PUBLIC_HOME_CARD_H_
6 #define ATHENA_HOME_PUBLIC_HOME_CARD_H_
8 #include "athena/athena_export.h"
15 class AppModelBuilder;
17 class ATHENA_EXPORT HomeCard {
19 // Creates/deletes/gets the singleton object of the HomeCard
20 // implementation. Takes the ownership of |model_builder|.
21 static HomeCard* Create(AppModelBuilder* model_builder);
22 static void Shutdown();
23 static HomeCard* Get();
25 virtual ~HomeCard() {}
27 // Registers a search_provider to the HomeCard. Receiver will take
28 // the ownership of the specified provider.
29 virtual void RegisterSearchProvider(
30 app_list::SearchProvider* search_provider) = 0;
35 #endif // ATHENA_HOME_PUBLIC_HOME_CARD_H_