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

Unified Diff: chrome/browser/resources/chromeos/chromevox/host/chrome/braille_integration_test.unitjs

Issue 1302763002: Add tests for braille commands. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@js2gtesterr
Patch Set: Document gn template args, rename extra_gen_files to gen_include_files 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/host/chrome/braille_integration_test.unitjs
diff --git a/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_integration_test.unitjs b/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_integration_test.unitjs
index 09b84b23ce933e56b93c7dd99683348cc464cdd0..6a9b7a44511397293e43235ad76fd3a50fec2952 100644
--- a/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_integration_test.unitjs
+++ b/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_integration_test.unitjs
@@ -47,7 +47,7 @@ CvoxBrailleIntegrationUnitTest.prototype = {
cvox.ExtensionBridge = new FakeExtensionBridge(this.brailleBackground);
this.braille = new cvox.ChromeBraille();
- this.braille.setCommandListener(function(command, content) {
+ this.braille.setKeyEventHandlerForTest(function(command, content) {
this.lastCommand = command;
this.lastCommandContent = content;
}.bind(this));

Powered by Google App Engine
This is Rietveld 408576698