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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/test.html

Issue 1282593002: Add ChromeVox panel and implement caption display functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes to accessibility_manager in this change Created 5 years, 4 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/chromevox/cvox2/background/test.html
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/test.html b/chrome/browser/resources/chromeos/chromevox/cvox2/background/test.html
new file mode 100644
index 0000000000000000000000000000000000000000..83d889caf6e52abad8ea93cac29abc1daeb35c8c
--- /dev/null
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/test.html
@@ -0,0 +1,13 @@
+<script>
+goog = {};
+goog.provide = function() {};
+</script>
+<script src="earcon_engine.js"></script>
+<button id='alert'>Alert</button>
+<script>
+var ee = new EarconEngine();
+ee.onAlert();
+document.getElementById('alert').addEventListener('click', function() {
+ ee.onAlert();
+});
+</script>

Powered by Google App Engine
This is Rietveld 408576698