Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: ui/app_list/views/search_box_view_delegate.h

Issue 185623002: Add Hide and Show to the app list SearchBoxView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ares_contents_switcher
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_DELEGATE_H_ 5 #ifndef UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_DELEGATE_H_
6 #define UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_DELEGATE_H_ 6 #define UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_DELEGATE_H_
7 7
8 #include "ui/app_list/app_list_export.h" 8 #include "ui/app_list/app_list_export.h"
9 9
10 namespace app_list { 10 namespace app_list {
11 11
12 class SearchBoxView; 12 class SearchBoxView;
13 13
14 class APP_LIST_EXPORT SearchBoxViewDelegate { 14 class APP_LIST_EXPORT SearchBoxViewDelegate {
15 public: 15 public:
16 // Invoked when query text has changed by the user. 16 // Invoked when query text has changed by the user.
17 virtual void QueryChanged(SearchBoxView* sender) = 0; 17 virtual void QueryChanged(SearchBoxView* sender) = 0;
18 18
19 // Invoked when the view's visibility has been altered.
20 virtual void SearchBoxVisibilityChanged(SearchBoxView* sender) = 0;
21
19 protected: 22 protected:
20 virtual ~SearchBoxViewDelegate() {} 23 virtual ~SearchBoxViewDelegate() {}
21 }; 24 };
22 25
23 } // namespace app_list 26 } // namespace app_list
24 27
25 #endif // UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_DELEGATE_H_ 28 #endif // UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698