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

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

Issue 2092743002: Revert of Make ChromeVox Next a setting in options page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/braille_background.js
diff --git a/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js b/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js
index 7ac49299d29d7f0064070492a89577ed25706a3b..a1536ecbb18dd3b64214fa00576f6f3a1f4c13fd 100644
--- a/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js
+++ b/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js
@@ -8,12 +8,12 @@
goog.provide('cvox.BrailleBackground');
-goog.require('ChromeVoxState');
goog.require('cvox.BrailleDisplayManager');
goog.require('cvox.BrailleInputHandler');
goog.require('cvox.BrailleInterface');
goog.require('cvox.BrailleKeyEvent');
goog.require('cvox.BrailleTranslatorManager');
+goog.require('global');
/**
@@ -118,8 +118,8 @@
if (this.inputHandler_.onBrailleKeyEvent(brailleEvt)) {
return;
}
- if (ChromeVoxState.instance &&
- ChromeVoxState.instance.onBrailleKeyEvent(brailleEvt, content)) {
+ if (global.backgroundObj &&
+ global.backgroundObj.onBrailleKeyEvent(brailleEvt, content)) {
return;
}
this.sendCommand_(brailleEvt, content);

Powered by Google App Engine
This is Rietveld 408576698