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

Unified Diff: chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js

Issue 550663004: Port liblouis nacl test from upstream ChromeVox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 6 years, 3 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_background.js
diff --git a/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js b/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js
index 4ffd536f0c9932ad7fc210654cb77a1284ab98eb..05865f16d67a1789ed59fe672ca5237f5c5ec2f7 100644
--- a/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js
+++ b/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js
@@ -179,6 +179,15 @@ cvox.BrailleBackground.prototype.onBrailleMessage = function(msg) {
/**
+ * @return {cvox.LibLouis} The liblouis instance used by this object, or null
+ * if not initialized yet.
+ */
+cvox.BrailleBackground.prototype.getLibLouisForTest = function() {
+ return this.liblouis_;
+};
+
+
+/**
* Initialization to be done after part of the background page's DOM has been
* constructed. Currently only used on ChromeOS.
* @param {number} retries Number of retries.

Powered by Google App Engine
This is Rietveld 408576698