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

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

Issue 1561773002: Implement ChromeVox Next menus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@panel_view_type
Patch Set: Address feedback Created 4 years, 11 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/tts_background.js
diff --git a/chrome/browser/resources/chromeos/chromevox/host/chrome/tts_background.js b/chrome/browser/resources/chromeos/chromevox/host/chrome/tts_background.js
index 29306a4341ccac661113c299e8d22cfeca681545..06fcf89ec8b087f62938457ade9d64bd7c74c6f2 100644
--- a/chrome/browser/resources/chromeos/chromevox/host/chrome/tts_background.js
+++ b/chrome/browser/resources/chromeos/chromevox/host/chrome/tts_background.js
@@ -536,17 +536,6 @@ cvox.TtsBackground.prototype.onError_ = function(errorMessage) {
};
/**
- * Converts an engine property value to a percentage from 0.00 to 1.00.
- * @param {string} property The property to convert.
- * @return {?number} The percentage of the property.
- */
-cvox.TtsBackground.prototype.propertyToPercentage = function(property) {
- return (this.ttsProperties[property] - this.propertyMin[property]) /
- Math.abs(this.propertyMax[property] - this.propertyMin[property]);
-};
-
-
-/**
* @override
*/
cvox.TtsBackground.prototype.preprocess = function(text, properties) {

Powered by Google App Engine
This is Rietveld 408576698