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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « ui/app_list/views/search_box_view.h ('k') | ui/app_list/views/search_result_view.h » ('j') | no next file with comments »
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 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"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "ui/app_list/app_list_export.h" 12 #include "ui/app_list/app_list_export.h"
13 #include "ui/app_list/app_list_model.h" 13 #include "ui/app_list/app_list_model.h"
14 #include "ui/app_list/views/app_list_page.h" 14 #include "ui/app_list/views/app_list_page.h"
15 #include "ui/app_list/views/search_result_container_view.h" 15 #include "ui/app_list/views/search_result_container_view.h"
16 16
17 namespace app_list { 17 namespace app_list {
18 18
19 class AppListMainView;
20 class AppListViewDelegate;
21
22 // The search results page for the app list. 19 // The search results page for the app list.
23 class APP_LIST_EXPORT SearchResultPageView 20 class APP_LIST_EXPORT SearchResultPageView
24 : public AppListPage, 21 : public AppListPage,
25 public SearchResultContainerView::Delegate { 22 public SearchResultContainerView::Delegate {
26 public: 23 public:
27 SearchResultPageView(); 24 SearchResultPageView();
28 ~SearchResultPageView() override; 25 ~SearchResultPageView() override;
29 26
30 int selected_index() { return selected_index_; } 27 int selected_index() { return selected_index_; }
31 bool HasSelection() { return selected_index_ > -1; } 28 bool HasSelection() { return selected_index_ > -1; }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 64
68 // -1 indicates no selection. 65 // -1 indicates no selection.
69 int selected_index_; 66 int selected_index_;
70 67
71 DISALLOW_COPY_AND_ASSIGN(SearchResultPageView); 68 DISALLOW_COPY_AND_ASSIGN(SearchResultPageView);
72 }; 69 };
73 70
74 } // namespace app_list 71 } // namespace app_list
75 72
76 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_PAGE_VIEW_H_ 73 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_PAGE_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/search_box_view.h ('k') | ui/app_list/views/search_result_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698