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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/loader.js

Issue 299703003: Build ChromeVox using gyp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Address nits from Dominic. Created 6 years, 7 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/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();
+}

Powered by Google App Engine
This is Rietveld 408576698