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

Side by Side Diff: athena/home/bottom_home_view.h

Issue 439703002: Allow app list tiles to show search results in the experimental app list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix athena Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | athena/home/bottom_home_view.cc » ('j') | ui/app_list/views/start_page_view.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « no previous file | athena/home/bottom_home_view.cc » ('j') | ui/app_list/views/start_page_view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698