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

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

Issue 21592003: app_list: Show apps grid after installing from cws result. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: happy mac Created 7 years, 4 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
« no previous file with comments | « ui/app_list/views/search_result_list_view.cc ('k') | ui/app_list/views/search_result_view.cc » ('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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // views::ContextMenuController overrides: 72 // views::ContextMenuController overrides:
73 virtual void ShowContextMenuForView(views::View* source, 73 virtual void ShowContextMenuForView(views::View* source,
74 const gfx::Point& point, 74 const gfx::Point& point,
75 ui::MenuSourceType source_type) OVERRIDE; 75 ui::MenuSourceType source_type) OVERRIDE;
76 76
77 // SearchResultObserver overrides: 77 // SearchResultObserver overrides:
78 virtual void OnIconChanged() OVERRIDE; 78 virtual void OnIconChanged() OVERRIDE;
79 virtual void OnActionsChanged() OVERRIDE; 79 virtual void OnActionsChanged() OVERRIDE;
80 virtual void OnIsInstallingChanged() OVERRIDE; 80 virtual void OnIsInstallingChanged() OVERRIDE;
81 virtual void OnPercentDownloadedChanged() OVERRIDE; 81 virtual void OnPercentDownloadedChanged() OVERRIDE;
82 virtual void OnItemInstalled() OVERRIDE;
82 83
83 // SearchResultActionsViewDelegate overrides: 84 // SearchResultActionsViewDelegate overrides:
84 virtual void OnSearchResultActionActivated(size_t index, 85 virtual void OnSearchResultActionActivated(size_t index,
85 int event_flags) OVERRIDE; 86 int event_flags) OVERRIDE;
86 87
87 SearchResult* result_; // Owned by AppListModel::SearchResults. 88 SearchResult* result_; // Owned by AppListModel::SearchResults.
88 89
89 // Parent list view. Owned by views hierarchy. 90 // Parent list view. Owned by views hierarchy.
90 SearchResultListView* list_view_; 91 SearchResultListView* list_view_;
91 92
92 // Not owned by us. 93 // Not owned by us.
93 SearchResultViewDelegate* delegate_; 94 SearchResultViewDelegate* delegate_;
94 95
95 views::ImageView* icon_; // Owned by views hierarchy. 96 views::ImageView* icon_; // Owned by views hierarchy.
96 scoped_ptr<gfx::RenderText> title_text_; 97 scoped_ptr<gfx::RenderText> title_text_;
97 scoped_ptr<gfx::RenderText> details_text_; 98 scoped_ptr<gfx::RenderText> details_text_;
98 SearchResultActionsView* actions_view_; // Owned by the views hierarchy. 99 SearchResultActionsView* actions_view_; // Owned by the views hierarchy.
99 ProgressBarView* progress_bar_; // Owned by views hierarchy. 100 ProgressBarView* progress_bar_; // Owned by views hierarchy.
100 101
101 scoped_ptr<views::MenuRunner> context_menu_runner_; 102 scoped_ptr<views::MenuRunner> context_menu_runner_;
102 103
103 DISALLOW_COPY_AND_ASSIGN(SearchResultView); 104 DISALLOW_COPY_AND_ASSIGN(SearchResultView);
104 }; 105 };
105 106
106 } // namespace app_list 107 } // namespace app_list
107 108
108 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_VIEW_H_ 109 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/search_result_list_view.cc ('k') | ui/app_list/views/search_result_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698