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

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

Issue 2740793002: Minimize the Classic API and enable it for Next (Closed)
Patch Set: Minimize the Classic API and enable it for Next Created 3 years, 9 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/host.js
diff --git a/chrome/browser/resources/chromeos/chromevox/host/chrome/host.js b/chrome/browser/resources/chromeos/chromevox/host/chrome/host.js
index 6423447a0b37cf3cd2ed3f6ff12cdb1f84b7f06e..cc3028f614f469f4c8b67e33b5dbed3049e94aaa 100644
--- a/chrome/browser/resources/chromeos/chromevox/host/chrome/host.js
+++ b/chrome/browser/resources/chromeos/chromevox/host/chrome/host.js
@@ -11,7 +11,6 @@
goog.provide('cvox.ChromeHost');
goog.require('cvox.AbstractHost');
-goog.require('cvox.ApiImplementation');
goog.require('cvox.BrailleOverlayWidget');
goog.require('cvox.ChromeVox');
goog.require('cvox.ChromeVoxEventWatcher');
@@ -91,20 +90,6 @@ cvox.ChromeHost.prototype.init = function() {
cvox.ChromeVox.modKeyStr = prefs['cvoxKey'];
}
- var apiPrefsChanged = (
- prefs['siteSpecificScriptLoader'] !=
- cvox.ApiImplementation.siteSpecificScriptLoader ||
- prefs['siteSpecificScriptBase'] !=
- cvox.ApiImplementation.siteSpecificScriptBase);
- cvox.ApiImplementation.siteSpecificScriptLoader =
- prefs['siteSpecificScriptLoader'];
- cvox.ApiImplementation.siteSpecificScriptBase =
- prefs['siteSpecificScriptBase'];
- if (apiPrefsChanged) {
- var searchInit = prefs['siteSpecificEnhancements'] === 'true' ?
- cvox.SearchLoader.init : undefined;
- cvox.ApiImplementation.init(searchInit);
- }
cvox.BrailleOverlayWidget.getInstance().setActive(
prefs['brailleCaptions'] == 'true');
}

Powered by Google App Engine
This is Rietveld 408576698