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

Unified Diff: chrome/browser/ui/app_list/start_page_service.h

Issue 105773004: Introduces the speech recognition UI to app_list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
« no previous file with comments | « chrome/browser/ui/app_list/start_page_observer.h ('k') | chrome/browser/ui/app_list/start_page_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/start_page_service.h
diff --git a/chrome/browser/ui/app_list/start_page_service.h b/chrome/browser/ui/app_list/start_page_service.h
index 01d6c11c05a85d0a72db25840d0792296a33d979..c8137f54fe1a80396a0128cabac245628116514c 100644
--- a/chrome/browser/ui/app_list/start_page_service.h
+++ b/chrome/browser/ui/app_list/start_page_service.h
@@ -14,6 +14,7 @@
#include "base/strings/string16.h"
#include "components/browser_context_keyed_service/browser_context_keyed_service.h"
#include "content/public/browser/web_contents.h"
+#include "ui/app_list/speech_ui_model_observer.h"
namespace extensions {
class Extension;
@@ -43,8 +44,9 @@ class StartPageService : public BrowserContextKeyedService {
content::WebContents* contents() { return contents_.get(); }
RecommendedApps* recommended_apps() { return recommended_apps_.get(); }
Profile* profile() { return profile_; }
- void OnSearch(const base::string16& query);
- void OnSpeechRecognitionStateChanged(bool recognizing);
+ void OnSpeechResult(const base::string16& query, bool is_final);
+ void OnSpeechSoundLevelChanged(int16 level);
+ void OnSpeechRecognitionStateChanged(SpeechRecognitionState new_state);
private:
// A BrowserContextKeyedServiceFactory for this service.
« no previous file with comments | « chrome/browser/ui/app_list/start_page_observer.h ('k') | chrome/browser/ui/app_list/start_page_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698