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

Side by Side Diff: ui/app_list/views/search_result_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_result_page_view.h ('k') | ui/app_list/views/speech_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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_SEARCH_RESULT_VIEW_H_
6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_VIEW_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
17 #include "ui/app_list/search_result_observer.h" 17 #include "ui/app_list/search_result_observer.h"
18 #include "ui/app_list/views/search_result_actions_view_delegate.h" 18 #include "ui/app_list/views/search_result_actions_view_delegate.h"
19 #include "ui/views/context_menu_controller.h" 19 #include "ui/views/context_menu_controller.h"
20 #include "ui/views/controls/button/custom_button.h" 20 #include "ui/views/controls/button/custom_button.h"
21 21
22 namespace gfx { 22 namespace gfx {
23 class RenderText; 23 class RenderText;
24 } 24 }
25 25
26 namespace views { 26 namespace views {
27 class ImageButton;
28 class ImageView; 27 class ImageView;
29 class MenuRunner; 28 class MenuRunner;
30 class ProgressBar; 29 class ProgressBar;
31 } 30 }
32 31
33 namespace app_list { 32 namespace app_list {
34 namespace test { 33 namespace test {
35 class SearchResultListViewTest; 34 class SearchResultListViewTest;
36 } // namespace test 35 } // namespace test
37 36
38 class SearchResult; 37 class SearchResult;
39 class SearchResultListView; 38 class SearchResultListView;
40 class SearchResultViewDelegate;
41 class SearchResultActionsView; 39 class SearchResultActionsView;
42 40
43 // SearchResultView displays a SearchResult. 41 // SearchResultView displays a SearchResult.
44 class APP_LIST_EXPORT SearchResultView 42 class APP_LIST_EXPORT SearchResultView
45 : public views::CustomButton, 43 : public views::CustomButton,
46 public views::ButtonListener, 44 public views::ButtonListener,
47 public views::ContextMenuController, 45 public views::ContextMenuController,
48 public SearchResultObserver, 46 public SearchResultObserver,
49 NON_EXPORTED_BASE(public SearchResultActionsViewDelegate) { 47 NON_EXPORTED_BASE(public SearchResultActionsViewDelegate) {
50 public: 48 public:
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 views::ProgressBar* progress_bar_; // Owned by views hierarchy. 120 views::ProgressBar* progress_bar_; // Owned by views hierarchy.
123 121
124 std::unique_ptr<views::MenuRunner> context_menu_runner_; 122 std::unique_ptr<views::MenuRunner> context_menu_runner_;
125 123
126 DISALLOW_COPY_AND_ASSIGN(SearchResultView); 124 DISALLOW_COPY_AND_ASSIGN(SearchResultView);
127 }; 125 };
128 126
129 } // namespace app_list 127 } // namespace app_list
130 128
131 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_VIEW_H_ 129 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/search_result_page_view.h ('k') | ui/app_list/views/speech_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698