Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_LIST_VIEW_DELEGATE_H_ | |
| 6 #define UI_APP_LIST_SEARCH_RESULT_LIST_VIEW_DELEGATE_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 namespace app_list { | |
| 10 | |
| 11 class SearchResult; | |
| 12 | |
| 13 class SearchResultListViewDelegate { | |
| 14 public: | |
| 15 // Invoked to open given |result|. | |
|
sky
2012/05/22 22:16:06
Document what |event_flags| is . Also, if result c
xiyuan
2012/05/23 21:25:22
Done.
| |
| 16 virtual void OpenResult(const SearchResult* result, | |
| 17 int event_flags) = 0; | |
| 18 | |
| 19 protected: | |
| 20 virtual ~SearchResultListViewDelegate() {} | |
| 21 }; | |
| 22 | |
| 23 } // namespace app_list | |
| 24 | |
| 25 #endif // UI_APP_LIST_SEARCH_RESULT_LIST_VIEW_DELEGATE_H_ | |
| OLD | NEW |