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

Side by Side Diff: ui/app_list/views/search_result_page_view.h

Issue 2933673002: Preparing to making answer-card independent of fullscreen. (Closed)
Patch Set: CR comments Created 3 years, 6 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
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 UI_APP_LIST_VIEWS_SEARCH_RESULT_PAGE_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_SEARCH_RESULT_PAGE_VIEW_H_
6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_PAGE_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_PAGE_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void SetSelectedIndex(int index, bool directional_movement); 59 void SetSelectedIndex(int index, bool directional_movement);
60 bool IsValidSelectionIndex(int index); 60 bool IsValidSelectionIndex(int index);
61 61
62 // The SearchResultContainerViews that compose the search page. All owned by 62 // The SearchResultContainerViews that compose the search page. All owned by
63 // the views hierarchy. 63 // the views hierarchy.
64 std::vector<SearchResultContainerView*> result_container_views_; 64 std::vector<SearchResultContainerView*> result_container_views_;
65 65
66 // -1 indicates no selection. 66 // -1 indicates no selection.
67 int selected_index_; 67 int selected_index_;
68 68
69 // Whether launcher is shown in fullscreen mode. 69 // Whether to use new UX design for search results.
70 bool const is_fullscreen_app_list_enabled_; 70 bool const is_new_design_;
71 71
72 // View containing SearchCardView instances. Owned by view hierarchy. 72 // View containing SearchCardView instances. Owned by view hierarchy.
73 views::View* const contents_view_; 73 views::View* const contents_view_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(SearchResultPageView); 75 DISALLOW_COPY_AND_ASSIGN(SearchResultPageView);
76 }; 76 };
77 77
78 } // namespace app_list 78 } // namespace app_list
79 79
80 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_PAGE_VIEW_H_ 80 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_PAGE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698