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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/host/interface/braille_interface.js

Issue 2544203004: Display images in multiline Braille
Patch Set: Minor Nits, added TODO comments Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Defines a Braille interface. 6 * @fileoverview Defines a Braille interface.
7 * 7 *
8 * All Braille engines in ChromeVox conform to this interface. 8 * All Braille engines in ChromeVox conform to this interface.
9 * 9 *
10 */ 10 */
11 11
12 goog.provide('cvox.BrailleInterface'); 12 goog.provide('cvox.BrailleInterface');
13 13
14 goog.require('cvox.BrailleKeyCommand'); 14 goog.require('cvox.BrailleKeyCommand');
15 goog.require('cvox.BrailleKeyEvent'); 15 goog.require('cvox.BrailleKeyEvent');
16 goog.require('cvox.NavBraille'); 16 goog.require('cvox.NavBraille');
17 17
18 /** 18 /**
19 * @interface 19 * @interface
20 */ 20 */
21 cvox.BrailleInterface = function() { }; 21 cvox.BrailleInterface = function() { };
22 22
23 /** 23 /**
24 * Sends the given params to the Braille display for output. 24 * Sends the given params to the Braille display for output.
25 * @param {!cvox.NavBraille} params Parameters to send to the 25 * @param {!cvox.NavBraille} params Parameters to send to the
26 * platform braille service. 26 * platform braille service.
27 */ 27 */
28 cvox.BrailleInterface.prototype.write = 28 cvox.BrailleInterface.prototype.write =
29 function(params) { }; 29 function(params) { };
30
31 /**
32 * Takes an image in the form of a data url and outputs it to a Braille
33 * display.
34 * @param {!string} imageDataUrl The image to output, in the form of a
35 * dataUrl.
36 */
37 cvox.BrailleInterface.prototype.writeRawImage =
38 function(imageDataUrl) { };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698