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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js

Issue 608853006: Reland fix ChromeVox Next compile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Begin and end comments for auto generated content. Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Script that runs on the background page. 6 * @fileoverview Script that runs on the background page.
7 *
8 */ 7 */
9 8
10 goog.provide('cvox.ChromeVoxBackground'); 9 goog.provide('cvox.ChromeVoxBackground');
11 10
12 goog.require('cvox.AbstractEarcons'); 11 goog.require('cvox.AbstractEarcons');
13 goog.require('cvox.AccessibilityApiHandler'); 12 goog.require('cvox.AccessibilityApiHandler');
14 goog.require('cvox.BrailleBackground'); 13 goog.require('cvox.BrailleBackground');
15 goog.require('cvox.BrailleCaptionsBackground'); 14 goog.require('cvox.BrailleCaptionsBackground');
16 goog.require('cvox.ChromeVox'); 15 goog.require('cvox.ChromeVox');
17 goog.require('cvox.ChromeVoxEditableTextBase'); 16 goog.require('cvox.ChromeVoxEditableTextBase');
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 var background = new cvox.ChromeVoxBackground(); 543 var background = new cvox.ChromeVoxBackground();
545 background.init(); 544 background.init();
546 window['speak'] = goog.bind(background.tts.speak, background.tts); 545 window['speak'] = goog.bind(background.tts.speak, background.tts);
547 546
548 // Export the prefs object for access by the options page. 547 // Export the prefs object for access by the options page.
549 window['prefs'] = background.prefs; 548 window['prefs'] = background.prefs;
550 549
551 // Export the braille object for access by the options page. 550 // Export the braille object for access by the options page.
552 window['braille'] = cvox.ChromeVox.braille; 551 window['braille'] = cvox.ChromeVox.braille;
553 552
554 // Export this background page for ChromeVox Next to access. 553 // Export injection for ChromeVox Next.
555 cvox.ChromeVox.background = background; 554 cvox.ChromeVox.injectChromeVoxIntoTabs =
555 background.injectChromeVoxIntoTabs.bind(background);
556 })(); 556 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698