Index: chrome/browser/resources/access_chromevox/closure/closure_preinit.js |
=================================================================== |
--- chrome/browser/resources/access_chromevox/closure/closure_preinit.js (revision 0) |
+++ chrome/browser/resources/access_chromevox/closure/closure_preinit.js (revision 0) |
@@ -0,0 +1,17 @@ |
+// Copyright (c) 2011 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 Code to execute before Closure's base.js. |
+ */ |
+ |
+// Tell Closure to load JavaScript code from the extension root directory. |
+window.CLOSURE_BASE_PATH = chrome.extension.getURL('/closure/'); |
+ |
+// Tell Closure not to load deps.js; it's included by manifest.json already. |
+window.CLOSURE_NO_DEPS = true; |
+ |
+// Tell Closure to use a loading mechanism designed for Chrome content |
+// scripts. |
+window.CHROME_CONTENT_SCRIPT = true; |
Property changes on: chrome/browser/resources/access_chromevox/closure/closure_preinit.js |
___________________________________________________________________ |
Added: svn:executable |
+ * |
Added: svn:eol-style |
+ LF |