Views Omnibox: tolerate minor click-to-select-all dragging.
[chromium-blink-merge.git] / ui / app_list / views / search_result_actions_view_delegate.h
blob2aedbccf7b84d19e91893341492c7f8917ee7d41
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.
5 #ifndef UI_APP_LIST_VIEWS_SEARCH_RESULT_ACTIONS_VIEW_DELEGATE_H_
6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_ACTIONS_VIEW_DELEGATE_H_
8 namespace app_list {
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;
16 protected:
17 virtual ~SearchResultActionsViewDelegate() {}
20 } // namespace app_list
22 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_ACTIONS_VIEW_DELEGATE_H_