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

Unified Diff: chrome/browser/resources/chromeos/chromevox/braille/spans.js

Issue 2954413003: Support rich line output in both speech and braille (Closed)
Patch Set: Fix browser test Created 3 years, 6 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/braille/spans.js
diff --git a/chrome/browser/resources/chromeos/chromevox/braille/spans.js b/chrome/browser/resources/chromeos/chromevox/braille/spans.js
index 525b107e589b97de92251abcac8347790013fcc5..e9362bbfa60748b06906e053188ca53529d23746 100644
--- a/chrome/browser/resources/chromeos/chromevox/braille/spans.js
+++ b/chrome/browser/resources/chromeos/chromevox/braille/spans.js
@@ -7,10 +7,12 @@
* and selections.
*/
+goog.provide('cvox.BrailleTextStyleSpan');
goog.provide('cvox.ExtraCellsSpan');
goog.provide('cvox.ValueSelectionSpan');
goog.provide('cvox.ValueSpan');
+goog.require('cvox.LibLouis.FormType');
goog.require('Spannable');
/**
@@ -72,3 +74,14 @@ cvox.ExtraCellsSpan = function() {
/** @type {ArrayBuffer} */
this.cells = new Uint8Array(0).buffer;
};
+
+
+/**
+ * Indicates a text form during translation in Liblouis.
+ * @param {cvox.LibLouis.FormType} formType
+ * @constructor
+ */
+cvox.BrailleTextStyleSpan = function(formType) {
+ /** @type {cvox.LibLouis.FormType} */
+ this.formType = formType;
+};

Powered by Google App Engine
This is Rietveld 408576698