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

Unified Diff: chrome/browser/resources/options/browser_options.js

Issue 158143002: Fine tuned availability of hotword plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 6 years, 10 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/options/browser_options.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index cc01414f19c8147c0156f394c0a52791de7edb93..f3c250bde3957f4bf1aa2b3a0b79bacabaa462b9 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -877,6 +877,14 @@ cr.define('options', function() {
},
/**
+ * Activates the option about the hotword in the app-list.
+ * @private
+ */
+ showAppListHotword_: function() {
+ $('hotword-app-list').hidden = false;
+ },
+
+ /**
* Activates the Hotword section from the System settings page.
* @private
*/
@@ -1581,6 +1589,7 @@ cr.define('options', function() {
'showCreateProfileError',
'showCreateProfileSuccess',
'showCreateProfileWarning',
+ 'showAppListHotword',
'showHotwordSection',
'showManagedUserImportError',
'showManagedUserImportSuccess',

Powered by Google App Engine
This is Rietveld 408576698