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

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

Issue 1561773002: Implement ChromeVox Next menus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@panel_view_type
Patch Set: Fix Ozone by only activating panel when fullscreen Created 4 years, 10 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
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 Tts interface. 6 * @fileoverview Defines a Tts interface.
7 * 7 *
8 * All TTS engines in ChromeVox conform to the this interface. 8 * All TTS engines in ChromeVox conform to the this interface.
9 * 9 *
10 */ 10 */
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 * Increases a TTS speech property. 103 * Increases a TTS speech property.
104 * @param {string} propertyName The name of the property to change. 104 * @param {string} propertyName The name of the property to change.
105 * @param {boolean} increase If true, increases the property value by one 105 * @param {boolean} increase If true, increases the property value by one
106 * step size, otherwise decreases. 106 * step size, otherwise decreases.
107 */ 107 */
108 cvox.TtsInterface.prototype.increaseOrDecreaseProperty = 108 cvox.TtsInterface.prototype.increaseOrDecreaseProperty =
109 function(propertyName, increase) { }; 109 function(propertyName, increase) { };
110 110
111 111
112 /** 112 /**
113 * Converts an engine property value to a percentage from 0.00 to 1.00.
114 * @param {string} property The property to convert.
115 * @return {?number} The percentage of the property.
116 */
117 cvox.TtsInterface.prototype.propertyToPercentage = function(property) { };
118
119
120 /**
113 * Returns the default properties of the first tts that has default properties. 121 * Returns the default properties of the first tts that has default properties.
114 * @param {string} property Name of property. 122 * @param {string} property Name of property.
115 * @return {?number} The default value. 123 * @return {?number} The default value.
116 */ 124 */
117 cvox.TtsInterface.prototype.getDefaultProperty = function(property) { }; 125 cvox.TtsInterface.prototype.getDefaultProperty = function(property) { };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698