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

Unified Diff: ui/app_list/search_box_model_observer.h

Issue 69813002: Adds the speech recognition button to the app-list searchbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: ui/app_list/search_box_model_observer.h
diff --git a/ui/app_list/search_box_model_observer.h b/ui/app_list/search_box_model_observer.h
index b4cc40c2d9a3f1dde7b9c716c9665d2baf4148eb..97b9849ca148a6c9f1b6a7bc9282135f01038e11 100644
--- a/ui/app_list/search_box_model_observer.h
+++ b/ui/app_list/search_box_model_observer.h
@@ -14,6 +14,13 @@ class APP_LIST_EXPORT SearchBoxModelObserver {
// Invoked when icon is changed.
virtual void IconChanged() = 0;
+ // Invoked when the some properties of the right button (icon image or
+ // tooltip) is changed.
+ virtual void RightButtonPropChanged() = 0;
+
+ // Invoked when the right button state is changed.
+ virtual void RightButtonStateChanged(bool toggled) = 0;
+
// Invoked when hint text is changed.
virtual void HintTextChanged() = 0;

Powered by Google App Engine
This is Rietveld 408576698