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

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: Remove unused constants. 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
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..ab91b6ebbc016b47ef033497983ada883ab8350f 100644
--- a/chrome/browser/resources/hotword/constants.js
+++ b/chrome/browser/resources/hotword/constants.js
@@ -82,6 +82,15 @@ var NaClPlugin = {
/**
+ * Source of a hotwording session request.
+ * @enum {string}
+ */
+var SessionSource = {
+ LAUNCHER: 'launcher'
+};
+
+
Dan Beam 2014/09/11 17:56:23 general nit: we use 1 \n between top-level members
Anand Mistry (off Chromium) 2014/09/12 00:43:33 Fixed for the whole file.
+/**
* The browser UI language.
* @const {string}
*/
@@ -96,6 +105,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') | chrome/browser/resources/hotword/state_manager.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698