1 // Copyright 2013 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_VIEWS_SEARCH_RESULT_ACTIONS_VIEW_DELEGATE_H_ 6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_ACTIONS_VIEW_DELEGATE_H_ 7 8 namespace app_list { 9 10 class SearchResultActionsViewDelegate { 11 public: 12 // Invoked when the action button represent the action at |index| is pressed 13 // in SearchResultActionsView. 14 virtual void OnSearchResultActionActivated(size_t index, int event_flags) = 0; 15 16 protected: 17 virtual ~SearchResultActionsViewDelegate() {} 18 }; 19 20 } // namespace app_list 21 22 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_ACTIONS_VIEW_DELEGATE_H_ 23