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

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

Issue 613223003: Fix ChromeVox Next compile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Fix commit presubmit. 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/chromevox/background/background.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js b/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js
index f3b0d24390c680da0acdec1ee05e133f51b7ba2c..e223c5c7302458435074384c4be11a2fbf50e8a4 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js
@@ -551,6 +551,7 @@ cvox.ChromeVoxBackground.prototype.onLoadStateChanged = function(
// Export the braille object for access by the options page.
window['braille'] = cvox.ChromeVox.braille;
- // Export this background page for ChromeVox Next to access.
- cvox.ChromeVox.background = background;
+ // Export injection for ChromeVox Next.
+ cvox.ChromeVox.injectChromeVoxIntoTabs =
+ background.injectChromeVoxIntoTabs.bind(background);
})();

Powered by Google App Engine
This is Rietveld 408576698