| 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 05dd0f00968d932de50e6a0dbcfa492890c66fe2..cb14dce33acc81bb8b7006abd0403be6f1d61fb9 100644
|
| --- a/chrome/browser/resources/options/browser_options.js
|
| +++ b/chrome/browser/resources/options/browser_options.js
|
| @@ -1196,6 +1196,18 @@ cr.define('options', function() {
|
| },
|
|
|
| /**
|
| + * Controls the visibility of all the hotword sections.
|
| + * @param {boolean} visible Whether to show hotword sections.
|
| + * @private
|
| + */
|
| + setHotwordSectionVisible_: function(visible) {
|
| + $('hotword-search').hidden = !visible;
|
| + $('hotword-always-on-search').hidden = !visible;
|
| + $('hotword-no-dsp-search').hidden = !visible;
|
| + $('audio-history').hidden = !visible;
|
| + },
|
| +
|
| + /**
|
| * Shows or hides the hotword retrain link
|
| * @param {boolean} visible Whether to show the link.
|
| * @private
|
| @@ -2113,6 +2125,7 @@ cr.define('options', function() {
|
| 'setNativeThemeButtonEnabled',
|
| 'setNetworkPredictionValue',
|
| 'setHighContrastCheckboxState',
|
| + 'setHotwordSectionVisible',
|
| 'setMetricsReportingCheckboxState',
|
| 'setMetricsReportingSettingVisibility',
|
| 'setProfilesInfo',
|
|
|