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

Unified Diff: chrome/browser/resources/chromeos/select_to_speak/options.html

Issue 2782993002: Add an options page to Select-to-Speak and allow setting voice name, rate (Closed)
Patch Set: Created 3 years, 9 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/chromeos/select_to_speak/options.html
diff --git a/chrome/browser/resources/chromeos/select_to_speak/options.html b/chrome/browser/resources/chromeos/select_to_speak/options.html
new file mode 100644
index 0000000000000000000000000000000000000000..b2bf3b4d85a96927388c4b044ce049fd69ee6c19
--- /dev/null
+++ b/chrome/browser/resources/chromeos/select_to_speak/options.html
@@ -0,0 +1,43 @@
+<!-- Copyright 2017 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+<!doctype html>
+<html>
+ <head>
+ <title class="i18n" msgid="options_page_title">
+ Select-to-speak Options
+ </title>
+ <link rel="stylesheet" type="text/css" href="options.css">
+ </head>
+ <body>
+ <h1 class="i18n" msgid="name"></h1>
+
+ <div class="container">
+
+ <h2 class="i18n" msgid="options_speech"></h2>
+ <div class="option">
+ <span class="i18n" msgid="options_voices_description"
+ id="voices_description"></span>
+ <select id="voice" aria-labelledby="voices_description">
+ </select>
+ </div>
+
+ <div class="option">
+ <span class="i18n" msgid="options_rate_description"
+ id="rate_description"></span>
+ <select id="rate" aria-labelledby="rate_description">
+ <option value="0.5">50%</option>
+ <option value="0.75">75%</option>
+ <option value="1.0">100%</option>
+ <option value="1.25">125%</option>
+ <option value="1.5">150%</option>
+ <option value="1.75">175%</option>
+ <option value="2.0">200%</option>
David Tseng 2017/03/29 22:24:45 Would be nice to make these human friendly (e.g. v
dmazzoni 2017/03/30 20:19:17 Done.
+ </select>
+ </div>
+
+ </div>
+
+ <script src="select_to_speak_options.js"></script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698