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

Unified Diff: ui/app_list/views/start_page_view.h

Issue 307333002: Add search results to experimental app list start page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: ui/app_list/views/start_page_view.h
diff --git a/ui/app_list/views/start_page_view.h b/ui/app_list/views/start_page_view.h
index 89d27a57171f7914578668eee21fd33e8233ff5b..8d710e8fdc7f165a0fd9f8fb76e4a049eb9d2d00 100644
--- a/ui/app_list/views/start_page_view.h
+++ b/ui/app_list/views/start_page_view.h
@@ -20,6 +20,7 @@ namespace app_list {
class AppListMainView;
class AppListModel;
class AppListViewDelegate;
+class SearchResultListView;
class TileItemView;
// The start page for the experimental app list.
@@ -33,9 +34,14 @@ class StartPageView : public views::View,
virtual ~StartPageView();
void Reset();
+ void ShowSearchResults();
const std::vector<TileItemView*>& tile_views() const { return tile_views_; }
+ // Overridden from views::View:
+ virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE;
+ virtual void Layout() OVERRIDE;
+
private:
void SetModel(AppListModel* model);
@@ -59,6 +65,7 @@ class StartPageView : public views::View,
AppListViewDelegate* view_delegate_; // Owned by AppListView.
+ SearchResultListView* results_view_; // Owned by views hierarchy.
views::View* instant_container_; // Owned by views hierarchy.
views::View* tiles_container_; // Owned by views hierarchy.

Powered by Google App Engine
This is Rietveld 408576698