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_ATHENA_START_PAGE_VIEW_H_ |
| 6 #define ATHENA_HOME_ATHENA_START_PAGE_VIEW_H_ |
| 7 |
| 8 #include "athena/home/public/home_card.h" |
| 9 #include "ui/app_list/views/search_box_view_delegate.h" |
| 10 #include "ui/views/view.h" |
| 11 |
| 12 namespace app_list { |
| 13 class AppListViewDelegate; |
| 14 } |
| 15 |
| 16 namespace athena { |
| 17 |
| 18 // It will replace app_list::StartPageView in Athena UI in the future. |
| 19 // Right now it's simply used for VISIBLE_BOTTOM state. |
| 20 class AthenaStartPageView : public views::View, |
| 21 public app_list::SearchBoxViewDelegate { |
| 22 public: |
| 23 explicit AthenaStartPageView(app_list::AppListViewDelegate* delegate); |
| 24 virtual ~AthenaStartPageView(); |
| 25 |
| 26 private: |
| 27 // views::View: |
| 28 virtual void Layout() OVERRIDE; |
| 29 |
| 30 // app_list::SearchBoxViewDelegate: |
| 31 virtual void QueryChanged(app_list::SearchBoxView* sender) OVERRIDE; |
| 32 |
| 33 DISALLOW_COPY_AND_ASSIGN(AthenaStartPageView); |
| 34 }; |
| 35 |
| 36 } // namespace athena |
| 37 |
| 38 #endif // ATHENA_HOME_ATHENA_START_PAGE_VIEW_H_ |
OLD | NEW |