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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.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/cvox2/background/panel.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js
index 85c209bbfc43a582ed7fd3a448869381ef2fc47a..b525f444a78109543e0277ba061cc590cd5c99c2 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js
@@ -296,8 +296,7 @@
binding.keySeq,
function() {
var bkgnd =
- chrome.extension.
- getBackgroundPage()['ChromeVoxState']['instance'];
+ chrome.extension.getBackgroundPage()['global']['backgroundObj'];
bkgnd['onGotCommand'](binding.command);
});
}
@@ -545,7 +544,7 @@
*/
Panel.onOptions = function() {
var bkgnd =
- chrome.extension.getBackgroundPage()['ChromeVoxState']['instance'];
+ chrome.extension.getBackgroundPage()['global']['backgroundObj'];
bkgnd['showOptionsPage']();
window.location = '#';
};
@@ -576,7 +575,7 @@
window.location = '#';
var bkgnd =
- chrome.extension.getBackgroundPage()['ChromeVoxState']['instance'];
+ chrome.extension.getBackgroundPage()['global']['backgroundObj'];
bkgnd['endExcursion'](Panel.pendingCallback_);
};

Powered by Google App Engine
This is Rietveld 408576698