| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ATHENA_HOME_BOTTOM_HOME_VIEW_H_ | 5 #ifndef ATHENA_HOME_BOTTOM_HOME_VIEW_H_ |
| 6 #define ATHENA_HOME_BOTTOM_HOME_VIEW_H_ | 6 #define ATHENA_HOME_BOTTOM_HOME_VIEW_H_ |
| 7 | 7 |
| 8 #include "ui/app_list/search_result.h" |
| 8 #include "ui/app_list/views/search_box_view_delegate.h" | 9 #include "ui/app_list/views/search_box_view_delegate.h" |
| 9 #include "ui/views/view.h" | 10 #include "ui/views/view.h" |
| 10 | 11 |
| 11 namespace app_list { | 12 namespace app_list { |
| 12 class AppListViewDelegate; | 13 class AppListViewDelegate; |
| 13 } | 14 } |
| 14 | 15 |
| 15 namespace athena { | 16 namespace athena { |
| 16 | 17 |
| 17 // The view of 'VISIBLE_BOTTOM' state of home card, which occupies | 18 // The view of 'VISIBLE_BOTTOM' state of home card, which occupies |
| 18 // smaller area and provides limited functionalities. | 19 // smaller area and provides limited functionalities. |
| 19 class BottomHomeView : public views::View, | 20 class BottomHomeView : public views::View, |
| 20 public app_list::SearchBoxViewDelegate { | 21 public app_list::SearchBoxViewDelegate { |
| 21 public: | 22 public: |
| 22 explicit BottomHomeView(app_list::AppListViewDelegate* delegate); | 23 explicit BottomHomeView(app_list::AppListViewDelegate* delegate); |
| 23 virtual ~BottomHomeView(); | 24 virtual ~BottomHomeView(); |
| 24 | 25 |
| 25 private: | 26 private: |
| 26 // Overridden from app_list::SearchBoxViewDelegate: | 27 // Overridden from app_list::SearchBoxViewDelegate: |
| 27 virtual void QueryChanged(app_list::SearchBoxView* sender) OVERRIDE; | 28 virtual void QueryChanged(app_list::SearchBoxView* sender) OVERRIDE; |
| 28 | 29 |
| 29 app_list::AppListViewDelegate* view_delegate_; | 30 app_list::AppListViewDelegate* view_delegate_; |
| 31 ScopedVector<app_list::SearchResult> app_list_item_search_results_; |
| 30 | 32 |
| 31 DISALLOW_COPY_AND_ASSIGN(BottomHomeView); | 33 DISALLOW_COPY_AND_ASSIGN(BottomHomeView); |
| 32 }; | 34 }; |
| 33 | 35 |
| 34 } // namespace athena | 36 } // namespace athena |
| 35 | 37 |
| 36 #endif // ATHENA_HOME_BOTTOM_HOME_VIEW_H_ | 38 #endif // ATHENA_HOME_BOTTOM_HOME_VIEW_H_ |
| OLD | NEW |