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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/injected/loader.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/cvox2/injected/loader.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/injected/loader.js b/chrome/browser/resources/chromeos/chromevox/cvox2/injected/loader.js
index 0797cb80ac279eaf61445d165a2d5cef4f33f24e..911a90583f4180789189c3fb65c006b21daa0463 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/injected/loader.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/injected/loader.js
@@ -2,14 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+goog.require('cvox.ApiImplementation');
goog.require('KeyboardHandler');
/**
* Initializes minimal content script.
*/
function initMin() {
- if (cvox.ChromeVox.isChromeOS)
+ if (cvox.ChromeVox.isChromeOS) {
+ cvox.ApiImplementation.init();
return;
+ }
if (cvox.ChromeVox.isClassicEnabled_ === undefined) {
window.setTimeout(function() {

Powered by Google App Engine
This is Rietveld 408576698