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

Side by Side Diff: ui/app_list/search_result_view_delegate.h

Issue 10872099: ash: Add support for additional icons in apps search list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_APP_LIST_SEARCH_RESULT_VIEW_DELEGATE_H_
6 #define UI_APP_LIST_SEARCH_RESULT_VIEW_DELEGATE_H_
7
8 namespace ui {
9 class Event;
10 }
11
12 namespace app_list {
13
14 class SearchResultView;
15
16 class SearchResultViewDelegate {
17 public:
18 // Called when the search result is activated.
19 virtual void SearchResultActivated(SearchResultView* view,
20 const ui::Event& event) = 0;
21
22 // Called when one of the search result's optional action icons is activated.
23 // |action_index| contains the 0-based index of the action.
24 virtual void SearchResultActionActivated(SearchResultView* view,
25 int action_index,
26 const ui::Event& event) = 0;
27
28 protected:
29 virtual ~SearchResultViewDelegate() {}
30 };
31
32 } // namespace ash
33
34 #endif // UI_APP_LIST_SEARCH_RESULT_VIEW_DELEGATE_H_
OLDNEW
« ui/app_list/search_result_view.cc ('K') | « ui/app_list/search_result_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698