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

Unified Diff: chrome/browser/resources/hotword/constants.js

Issue 557193002: Start and stop the hotword detector when the user opens/closes the launcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/hotword/manager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/hotword/constants.js
diff --git a/chrome/browser/resources/hotword/constants.js b/chrome/browser/resources/hotword/constants.js
index 2aab1ed79f621055f0c26e8cf051bf1fa447750a..304f6cf3c8b234313f6acf0f5dce6d7c148558b6 100644
--- a/chrome/browser/resources/hotword/constants.js
+++ b/chrome/browser/resources/hotword/constants.js
@@ -82,6 +82,17 @@ var NaClPlugin = {
/**
+ * Source of a hotwording session request.
+ * @enum {string}
+ */
+var SessionSource = {
+ LAUNCHER: 'launcher',
+ NTP: 'ntp',
+ GOOGLE_COM: 'google.com'
rpetterson 2014/09/10 17:53:31 Where are the NTP and GOOGLE_COM ones currently (o
Anand Mistry (off Chromium) 2014/09/10 23:29:42 They're not used in this change, so I've removed t
+};
+
+
+/**
* The browser UI language.
* @const {string}
*/
@@ -96,6 +107,7 @@ return {
Error: Error,
Event: Event,
NaClPlugin: NaClPlugin,
+ SessionSource: SessionSource,
UI_LANGUAGE: UI_LANGUAGE
};
« no previous file with comments | « no previous file | chrome/browser/resources/hotword/manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698