| OLD | NEW |
| 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 The entry point for all ChromeVox2 related code for the | 6 * @fileoverview The entry point for all ChromeVox2 related code for the |
| 7 * background page. | 7 * background page. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 goog.provide('Background'); | 10 goog.provide('Background'); |
| 11 | 11 |
| 12 goog.require('AutomationPredicate'); | 12 goog.require('AutomationPredicate'); |
| 13 goog.require('AutomationUtil'); | 13 goog.require('AutomationUtil'); |
| 14 goog.require('BackgroundKeyboardHandler'); | 14 goog.require('BackgroundKeyboardHandler'); |
| 15 goog.require('BrailleCommandHandler'); | 15 goog.require('BrailleCommandHandler'); |
| 16 goog.require('ChromeVoxState'); | 16 goog.require('ChromeVoxState'); |
| 17 goog.require('CommandHandler'); | 17 goog.require('CommandHandler'); |
| 18 goog.require('FindHandler'); | 18 goog.require('FindHandler'); |
| 19 goog.require('LiveRegions'); | 19 goog.require('LiveRegions'); |
| 20 goog.require('MediaAutomationHandler'); | 20 goog.require('MediaAutomationHandler'); |
| 21 goog.require('NextEarcons'); | 21 goog.require('NextEarcons'); |
| 22 goog.require('Notifications'); | 22 goog.require('Notifications'); |
| 23 goog.require('Output'); | 23 goog.require('Output'); |
| 24 goog.require('Output.EventType'); | 24 goog.require('Output.EventType'); |
| 25 goog.require('PanelCommand'); | 25 goog.require('PanelCommand'); |
| 26 goog.require('Stubs'); | |
| 27 goog.require('constants'); | 26 goog.require('constants'); |
| 28 goog.require('cursors.Cursor'); | 27 goog.require('cursors.Cursor'); |
| 29 goog.require('cvox.BrailleKeyCommand'); | 28 goog.require('cvox.BrailleKeyCommand'); |
| 30 goog.require('cvox.ChromeVoxBackground'); | 29 goog.require('cvox.ChromeVoxBackground'); |
| 31 goog.require('cvox.ChromeVoxEditableTextBase'); | 30 goog.require('cvox.ChromeVoxEditableTextBase'); |
| 32 goog.require('cvox.ClassicEarcons'); | 31 goog.require('cvox.ClassicEarcons'); |
| 33 goog.require('cvox.ExtensionBridge'); | 32 goog.require('cvox.ExtensionBridge'); |
| 34 goog.require('cvox.NavBraille'); | 33 goog.require('cvox.NavBraille'); |
| 35 | 34 |
| 36 goog.scope(function() { | 35 goog.scope(function() { |
| (...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 return new RegExp('^(' + globs.map(function(glob) { | 817 return new RegExp('^(' + globs.map(function(glob) { |
| 819 return glob.replace(/[.+^$(){}|[\]\\]/g, '\\$&') | 818 return glob.replace(/[.+^$(){}|[\]\\]/g, '\\$&') |
| 820 .replace(/\*/g, '.*') | 819 .replace(/\*/g, '.*') |
| 821 .replace(/\?/g, '.'); | 820 .replace(/\?/g, '.'); |
| 822 }).join('|') + ')$'); | 821 }).join('|') + ')$'); |
| 823 }; | 822 }; |
| 824 | 823 |
| 825 new Background(); | 824 new Background(); |
| 826 | 825 |
| 827 }); // goog.scope | 826 }); // goog.scope |
| OLD | NEW |