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_BOX_VIEW_DELEGATE_H_ 6 #define UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_DELEGATE_H_ 7 8 #include "ui/app_list/app_list_export.h" 9 10 namespace app_list { 11 12 class SearchBoxView; 13 14 class APP_LIST_EXPORT SearchBoxViewDelegate { 15 public: 16 // Invoked when query text has changed by the user. 17 virtual void QueryChanged(SearchBoxView* sender) = 0; 18 19 protected: ~SearchBoxViewDelegate()20 virtual ~SearchBoxViewDelegate() {} 21 }; 22 23 } // namespace app_list 24 25 #endif // UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_DELEGATE_H_ 26