Chromium Code Reviews| Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/loader.js |
| diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/loader.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/loader.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..14c89222b0811e8dab38e294aa0bdb6ada7640fb |
| --- /dev/null |
| +++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/loader.js |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| + |
| +/** |
| + * @fileoverview Defines the ChromeVox app. |
|
David Tseng
2014/05/21 21:08:49
nit: Loads the ChromeVox content script.
|
| + */ |
| + |
| +window.CLOSURE_USE_EXT_MESSAGES = true; |
| + |
| +goog.require('cvox.ChromeEarcons'); |
| +goog.require('cvox.ChromeHost'); |
| +goog.require('cvox.ChromeMathJax'); |
| +goog.require('cvox.ChromeMsgs'); |
| +goog.require('cvox.ChromeTts'); |
| +goog.require('cvox.ChromeBraille'); |
| +goog.require('cvox.ChromeVoxInit'); |
| + |
| +if (COMPILED) { |
| + // NOTE(deboer): This is called when this script is loaded, automatically |
| + // starting ChromeVox. If this isn't the compiled script, it will be |
| + // called in init_document.js. |
| + cvox.ChromeVox.initDocument(); |
| +} |