Chromium Code Reviews| Index: ui/app_list/search_result_list_view_delegate.h |
| diff --git a/ui/app_list/search_result_list_view_delegate.h b/ui/app_list/search_result_list_view_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..922baaaf93d54aec7ed40d5a07f1011a62a34b3a |
| --- /dev/null |
| +++ b/ui/app_list/search_result_list_view_delegate.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef UI_APP_LIST_SEARCH_RESULT_LIST_VIEW_DELEGATE_H_ |
| +#define UI_APP_LIST_SEARCH_RESULT_LIST_VIEW_DELEGATE_H_ |
| +#pragma once |
| + |
| +namespace app_list { |
| + |
| +class SearchResult; |
| + |
| +class SearchResultListViewDelegate { |
| + public: |
| + // 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.
|
| + virtual void OpenResult(const SearchResult* result, |
| + int event_flags) = 0; |
| + |
| + protected: |
| + virtual ~SearchResultListViewDelegate() {} |
| +}; |
| + |
| +} // namespace app_list |
| + |
| +#endif // UI_APP_LIST_SEARCH_RESULT_LIST_VIEW_DELEGATE_H_ |