Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ui / app_list / views / search_result_list_view_delegate.h
blobb2e15fb8a37556704e074a464d6bb2a40c749cf3
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_LIST_VIEW_DELEGATE_H_
6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_LIST_VIEW_DELEGATE_H_
8 #include "ui/app_list/app_list_export.h"
10 namespace app_list {
12 class SearchResult;
14 class APP_LIST_EXPORT SearchResultListViewDelegate {
15 public:
16 // Called when the app represented by |result| is installed.
17 virtual void OnResultInstalled(SearchResult* result) = 0;
19 // Called when the app represented by |result| is uninstalled.
20 virtual void OnResultUninstalled(SearchResult* result) = 0;
22 protected:
23 virtual ~SearchResultListViewDelegate() {}
26 } // namespace app_list
28 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_LIST_VIEW_DELEGATE_H_