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

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

Issue 593133002: Refactor: remove a Chromevox abstract class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 6 years, 3 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/interface/host_factory.js
diff --git a/chrome/browser/resources/chromeos/chromevox/host/interface/host_factory.js b/chrome/browser/resources/chromeos/chromevox/host/interface/host_factory.js
index ab0c397d4cbe5d3a8143c8c5ab9d4690b8c3a521..c0be2eade4a99ceda8d9ad2e47d8cd181320b3e1 100644
--- a/chrome/browser/resources/chromeos/chromevox/host/interface/host_factory.js
+++ b/chrome/browser/resources/chromeos/chromevox/host/interface/host_factory.js
@@ -10,18 +10,15 @@
goog.provide('cvox.HostFactory');
+goog.require('cvox.AbstractBraille');
goog.require('cvox.AbstractEarcons');
goog.require('cvox.AbstractHost');
goog.require('cvox.AbstractMathJax');
-goog.require('cvox.AbstractMsgs');
goog.require('cvox.AbstractTts');
-goog.require('cvox.AbstractBraille');
-
-
/**
- * @namespace.
+ * @constructor
*/
cvox.HostFactory = function() {};
@@ -50,14 +47,6 @@ cvox.HostFactory.getBraille = function() {
};
/**
- * Returns the message interface.
- * @return {cvox.AbstractMsgs}
- */
-cvox.HostFactory.getMsgs = function() {
- return new cvox.HostFactory.msgsConstructor;
-};
-
-/**
* Returns the earcons interface.
* @return {cvox.AbstractEarcons}
*/
@@ -89,11 +78,6 @@ cvox.HostFactory.ttsConstructor;
cvox.HostFactory.brailleConstructor;
/**
- * @type {function (new:cvox.AbstractMsgs)}
- */
-cvox.HostFactory.msgsConstructor;
-
-/**
* @type {function (new:cvox.AbstractEarcons)}
*/
cvox.HostFactory.earconsConstructor;

Powered by Google App Engine
This is Rietveld 408576698