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

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

Issue 572373002: Refactor tabs API handlers out of AccessibilityApiHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Getting out of a bind. 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 446212e071cfff098f1016e54d94c1273fd5c093..e48f380d0e3b184ab828c19dca75ad4806a96074 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js
@@ -29,6 +29,7 @@ goog.require('cvox.NavBraille');
goog.require('cvox.OptionsPage');
goog.require('cvox.PlatformFilter');
goog.require('cvox.PlatformUtil');
+goog.require('cvox.TabsApiHandler');
goog.require('cvox.TtsBackground');
@@ -88,6 +89,8 @@ cvox.ChromeVoxBackground.prototype.init = function() {
this.accessibilityApiHandler_ = new cvox.AccessibilityApiHandler(
this.tts, this.backgroundBraille_, this.earcons);
+ this.tabsApiHandler_ = new cvox.TabsApiHandler(
+ this.tts, this.backgroundBraille_, this.earcons);
// Export globals on cvox.ChromeVox.
cvox.ChromeVox.tts = this.tts;

Powered by Google App Engine
This is Rietveld 408576698