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

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

Issue 268813004: app_list: Another pass of cpplint.py to make it clean. (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 unified diff | Download patch | Annotate | Revision Log
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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 25 matching lines...) Expand all
36 // SearchResultView displays a SearchResult. 36 // SearchResultView displays a SearchResult.
37 class SearchResultView : public views::CustomButton, 37 class SearchResultView : public views::CustomButton,
38 public views::ButtonListener, 38 public views::ButtonListener,
39 public views::ContextMenuController, 39 public views::ContextMenuController,
40 public SearchResultObserver, 40 public SearchResultObserver,
41 public SearchResultActionsViewDelegate { 41 public SearchResultActionsViewDelegate {
42 public: 42 public:
43 // Internal class name. 43 // Internal class name.
44 static const char kViewClassName[]; 44 static const char kViewClassName[];
45 45
46 SearchResultView(SearchResultListView* list_view); 46 explicit SearchResultView(SearchResultListView* list_view);
47 virtual ~SearchResultView(); 47 virtual ~SearchResultView();
48 48
49 // Sets/gets SearchResult displayed by this view. 49 // Sets/gets SearchResult displayed by this view.
50 void SetResult(SearchResult* result); 50 void SetResult(SearchResult* result);
51 SearchResult* result() { return result_; } 51 SearchResult* result() { return result_; }
52 52
53 // Clears reference to SearchResult but don't schedule repaint. 53 // Clears reference to SearchResult but don't schedule repaint.
54 void ClearResultNoRepaint(); 54 void ClearResultNoRepaint();
55 55
56 // Clears the selected action. 56 // Clears the selected action.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 ProgressBarView* progress_bar_; // Owned by views hierarchy. 101 ProgressBarView* progress_bar_; // Owned by views hierarchy.
102 102
103 scoped_ptr<views::MenuRunner> context_menu_runner_; 103 scoped_ptr<views::MenuRunner> context_menu_runner_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(SearchResultView); 105 DISALLOW_COPY_AND_ASSIGN(SearchResultView);
106 }; 106 };
107 107
108 } // namespace app_list 108 } // namespace app_list
109 109
110 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_VIEW_H_ 110 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/folder_header_view_delegate.h ('k') | ui/app_list/views/top_icon_animation_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698