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

Unified Diff: ui/app_list/app_list_view_delegate.h

Issue 105773004: Introduces the speech recognition UI to app_list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years 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/app_list_view_delegate.h
diff --git a/ui/app_list/app_list_view_delegate.h b/ui/app_list/app_list_view_delegate.h
index 4da51a67ee6384eaf72e0c08d0e2ce47b4af2744..12414fe4cd65c05de7b440c0531a65bdf6e4c1a1 100644
--- a/ui/app_list/app_list_view_delegate.h
+++ b/ui/app_list/app_list_view_delegate.h
@@ -31,6 +31,7 @@ class AppListItemModel;
class AppListModel;
class SearchResult;
class SigninDelegate;
+class SpeechUIModel;
class APP_LIST_EXPORT AppListViewDelegate {
public:
@@ -71,6 +72,9 @@ class APP_LIST_EXPORT AppListViewDelegate {
// Gets the SigninDelegate for the app list. Owned by the AppListViewDelegate.
virtual SigninDelegate* GetSigninDelegate() = 0;
+ // Gets the SpeechUIModel for the app list. Owned by the AppListViewDelegate.
+ virtual SpeechUIModel* GetSpeechUI() = 0;
+
// Gets a path to a shortcut for the given app. Returns asynchronously as the
// shortcut may not exist yet.
virtual void GetShortcutPathForApp(

Powered by Google App Engine
This is Rietveld 408576698