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

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

Issue 677843002: Updates the hotword settings page according to newest mocks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review Comments Created 6 years, 2 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.html
diff --git a/chrome/browser/resources/options/browser_options.html b/chrome/browser/resources/options/browser_options.html
index 3395a5c2a593f0ccf4772ea3840c4c53ba1373e7..da7f19062aed1af9857ed1a9fe6ab3e5aa4b67bf 100644
--- a/chrome/browser/resources/options/browser_options.html
+++ b/chrome/browser/resources/options/browser_options.html
@@ -157,29 +157,51 @@
i18n-content="defaultSearchManageEngines">
</button>
</div>
- </div>
- </section>
- <section>
- <h3 id="voice-section-title" i18n-content="sectionTitleVoice" hidden></h3>
- <div id="voice-section-content">
- <div id="hotword-always-on-search" hidden>
- <div class="checkbox controlled-setting-with-label">
- <label>
- <input id="hotword-always-on-search-checkbox"
- pref="hotword.always_on_search_enabled" type="checkbox">
- <span i18n-content="hotwordAlwaysOnSearchEnable"></span>
- </label>
+ <div id="hotword-always-on-search" hidden>
+ <div class="checkbox controlled-setting-with-label">
+ <label>
+ <input id="hotword-always-on-search-checkbox"
+ pref="hotword.always_on_search_enabled" type="checkbox">
+ <span i18n-content="hotwordSearchEnable"></span>
+ </label>
+ <a target="_blank" class="hotword-learn-more-link"
+ i18n-content="learnMore"
+ i18n-values="href:hotwordLearnMoreURL">
+ </a>
+ <div>
+ <span class="hotword-description"
+ i18n-content="hotwordAlwaysOnDesc">
+ </span>
+ </div>
+ </div>
</div>
- </div>
- <div id="audio-logging" hidden>
- <div class="checkbox controlled-setting-with-label">
- <label>
- <input pref="hotword.audio_logging_enabled" type="checkbox">
- <span i18n-content="hotwordAudioHistoryEnable"></span>
- </label>
+ <div id="hotword-no-dsp-search" hidden>
+ <div class="checkbox controlled-setting-with-label">
+ <label>
+ <input id="hotword-no-dsp-search-checkbox"
+ pref="hotword.search_enabled_2" type="checkbox">
+ <span i18n-content="hotwordSearchEnable"></span>
+ </label>
+ <a target="_blank" class="hotword-learn-more-link"
+ i18n-content="learnMore"
+ i18n-values="href:hotwordLearnMoreURL">
+ </a>
+ <div>
+ <span class="hotword-description"
+ i18n-content="hotwordNoDSPDesc">
+ </span>
+ </div>
+ </div>
+ </div>
+ <div id="audio-logging" hidden>
+ <div class="checkbox controlled-setting-with-label">
+ <label>
+ <input pref="hotword.audio_logging_enabled" type="checkbox">
+ <span i18n-content="hotwordAudioHistoryEnable"></span>
+ </label>
+ </div>
</div>
</div>
- </div>
</section>
<section id="sync-users-section" guest-visibility="hidden">
<h3 i18n-content="sectionTitleUsers"></h3>
« no previous file with comments | « chrome/browser/resources/options/browser_options.css ('k') | chrome/browser/resources/options/browser_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698