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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_command.js

Issue 2362673004: Aligns text to braille in chromevox. (Closed)
Patch Set: fixed test Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 Commands to pass from the ChromeVox background page context 6 * @fileoverview Commands to pass from the ChromeVox background page context
7 * to the ChromeVox Panel. 7 * to the ChromeVox Panel.
8 */ 8 */
9 9
10 goog.provide('PanelCommand'); 10 goog.provide('PanelCommand');
11 goog.provide('PanelCommandType'); 11 goog.provide('PanelCommandType');
12 12
13 /** 13 /**
14 * Create one command to pass to the ChromeVox Panel. 14 * Create one command to pass to the ChromeVox Panel.
15 * @param {PanelCommandType} type The type of command. 15 * @param {PanelCommandType} type The type of command.
16 * @param {string|{text: string, braille: string}=} opt_data 16 * @param {string|{groups:Array}=} opt_data
17 * Optional data associated with the command. 17 * Optional data associated with the command.
18 * @constructor 18 * @constructor
19 */ 19 */
20 PanelCommand = function(type, opt_data) { 20 PanelCommand = function(type, opt_data) {
21 this.type = type; 21 this.type = type;
22 this.data = opt_data; 22 this.data = opt_data;
23 }; 23 };
24 24
25 /** 25 /**
26 * Send this command to the ChromeVox Panel window. 26 * Send this command to the ChromeVox Panel window.
(...skipping 15 matching lines...) Expand all
42 CLEAR_SPEECH: 'clear_speech', 42 CLEAR_SPEECH: 'clear_speech',
43 ADD_NORMAL_SPEECH: 'add_normal_speech', 43 ADD_NORMAL_SPEECH: 'add_normal_speech',
44 ADD_ANNOTATION_SPEECH: 'add_annotation_speech', 44 ADD_ANNOTATION_SPEECH: 'add_annotation_speech',
45 UPDATE_BRAILLE: 'update_braille', 45 UPDATE_BRAILLE: 'update_braille',
46 OPEN_MENUS: 'open_menus', 46 OPEN_MENUS: 'open_menus',
47 ENABLE_MENUS: 'enable_menus', 47 ENABLE_MENUS: 'enable_menus',
48 DISABLE_MENUS: 'disable_menus', 48 DISABLE_MENUS: 'disable_menus',
49 SEARCH: 'search', 49 SEARCH: 'search',
50 TUTORIAL: 'tutorial', 50 TUTORIAL: 'tutorial',
51 }; 51 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698