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

Unified Diff: chrome/test/data/speech/enable_speech_input_switch_test.html

Issue 3064017: Add --enable-speech-input switch and set ENABLE_INPUT_SPEECH=1 (Closed)
Patch Set: Added button images to test shell and set flag. Created 10 years, 5 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
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | webkit/tools/test_shell/test_shell_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/speech/enable_speech_input_switch_test.html
diff --git a/chrome/test/data/speech/enable_speech_input_switch_test.html b/chrome/test/data/speech/enable_speech_input_switch_test.html
new file mode 100644
index 0000000000000000000000000000000000000000..9524c7c97b145a9e331ae146cdfb43d108c4a71f
--- /dev/null
+++ b/chrome/test/data/speech/enable_speech_input_switch_test.html
@@ -0,0 +1,22 @@
+<html>
+ <head>
+ <title>SpeechInputEnableSwitchTest</title>
+ <script type="text/javascript">
+ function run() {
+ var inputField = document.getElementById('inputField');
+ if (inputField.speech) {
+ document.getElementById('status').innerHTML = 'FAIL';
+ document.location = '#fail';
+ } else {
+ document.getElementById('status').innerHTML = 'PASS';
+ document.location = '#pass';
+ }
+ }
+ </script>
+ </head>
+ <body onload="run()">
+ <input id='inputField' speech><br>
+ <div id="status">Running...</div>
+ </body>
+</html>
+
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | webkit/tools/test_shell/test_shell_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698