| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef ATHENA_HOME_BOTTOM_HOME_VIEW_H_ | |
| 6 #define ATHENA_HOME_BOTTOM_HOME_VIEW_H_ | |
| 7 | |
| 8 #include "ui/app_list/views/search_box_view_delegate.h" | |
| 9 #include "ui/views/view.h" | |
| 10 | |
| 11 namespace app_list { | |
| 12 class AppListViewDelegate; | |
| 13 } | |
| 14 | |
| 15 namespace athena { | |
| 16 | |
| 17 // The view of 'VISIBLE_BOTTOM' state of home card, which occupies | |
| 18 // smaller area and provides limited functionalities. | |
| 19 class BottomHomeView : public views::View, | |
| 20 public app_list::SearchBoxViewDelegate { | |
| 21 public: | |
| 22 explicit BottomHomeView(app_list::AppListViewDelegate* delegate); | |
| 23 virtual ~BottomHomeView(); | |
| 24 | |
| 25 private: | |
| 26 // Overridden from app_list::SearchBoxViewDelegate: | |
| 27 virtual void QueryChanged(app_list::SearchBoxView* sender) OVERRIDE; | |
| 28 | |
| 29 app_list::AppListViewDelegate* view_delegate_; | |
| 30 | |
| 31 DISALLOW_COPY_AND_ASSIGN(BottomHomeView); | |
| 32 }; | |
| 33 | |
| 34 } // namespace athena | |
| 35 | |
| 36 #endif // ATHENA_HOME_BOTTOM_HOME_VIEW_H_ | |
| OLD | NEW |