Commit 40c499df authored by Akihiro Ota's avatar Akihiro Ota Committed by Commit Bot

ChromeVox Options page: add link to TTS settings page.

options page.

Bug: 1009897
Change-Id: I32a2cda728933bf4e4e5d475a7f6b84dfe7b312b
AX-Relnotes: Add a link to the TTS settings page in the ChromeVox
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2213888Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
Commit-Queue: Akihiro Ota <akihiroota@chromium.org>
Cr-Commit-Position: refs/heads/master@{#771993}
parent 2da2d837
......@@ -148,6 +148,17 @@
aria-labelledby="voiceSwitchingLabel">
</div>
<div class="option">
<label>
<cr-link-row id="openTtsSettings"
using-slotted-label external embedded>
<span slot="label" class="i18n" msgid="show_tts_settings"></span>
<span slot="sub-label" class="i18n sub-description"
msgid="options_show_tts_settings"></span>
</cr-link-row>
</label>
</div>
<div id="richTextIndicationOption">
<h2 class="i18n" msgid="options_rich_text_header">Formatting</h2>
<div class="option">
......
......@@ -119,6 +119,11 @@ OptionsPage = class {
}
});
$('openTtsSettings').addEventListener('click', (evt) => {
chrome.accessibilityPrivate.openSettingsSubpage(
'manageAccessibility/tts');
});
$('enableAllEventStreamFilters').addEventListener('click', () => {
OptionsPage.setAllEventStreamLoggingFilters(true);
});
......
......@@ -380,7 +380,10 @@
Show Log
</message>
<message desc="Keyboard shortcut to show the ChromeVox log." name="IDS_CHROMEVOX_OPTIONS_SHOW_LOG_KEY">
Search + O + W
Search + O, then W
</message>
<message desc="Keyboard shortcut to show the TTS settings page." name="IDS_CHROMEVOX_OPTIONS_SHOW_TTS_SETTINGS">
Search + O, then S. Use to install, manage, and customize voices.
</message>
<message desc="Show event stream filters options for event stream logging." name="IDS_CHROMEVOX_OPTIONS_SHOW_EVENT_STREAM_FILTERS">
Show event stream filters
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment