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

Side by Side Diff: ui/app_list/app_list_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: fix compile 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
« no previous file with comments | « ui/app_list/app_list_view.cc ('k') | ui/app_list/search_result.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_APP_LIST_VIEW_DELEGATE_H_ 5 #ifndef UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
6 #define UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 6 #define UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
7 7
8 #include "ui/app_list/app_list_export.h" 8 #include "ui/app_list/app_list_export.h"
9 9
10 namespace app_list { 10 namespace app_list {
(...skipping 20 matching lines...) Expand all
31 // of AppListModel. 31 // of AppListModel.
32 virtual void StartSearch() = 0; 32 virtual void StartSearch() = 0;
33 33
34 // Invoked to stop the current search. 34 // Invoked to stop the current search.
35 virtual void StopSearch() = 0; 35 virtual void StopSearch() = 0;
36 36
37 // Invoked to open the search result. 37 // Invoked to open the search result.
38 virtual void OpenSearchResult(const SearchResult& result, 38 virtual void OpenSearchResult(const SearchResult& result,
39 int event_flags) = 0; 39 int event_flags) = 0;
40 40
41 // Called to invoke a custom action on |result|. |action_index| corresponds
42 // to the index of an icon in |result.action_icons()|.
43 virtual void InvokeSearchResultAction(const SearchResult& result,
44 int action_index,
45 int event_flags) = 0;
46
41 // Invoked to close app list. 47 // Invoked to close app list.
42 virtual void Close() = 0; 48 virtual void Close() = 0;
43 }; 49 };
44 50
45 } // namespace app_list 51 } // namespace app_list
46 52
47 #endif // UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 53 #endif // UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/app_list/app_list_view.cc ('k') | ui/app_list/search_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698