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

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

Issue 6254007: Adding ChromeVox as a component extensions (enabled only for ChromeOS, for no... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | Annotate | Revision Log
Property Changes:
Added: svn:executable
+ *
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 var COMPILED_FLAG = false;
6 var TEST_FLAG = false;
7 var BASE_URL = '';
8
9 // Append this to the end of a remote URL to force it to bypass the cache
10 // and be redownloaded.
11 var forceRedownload = '?' + new Date().getTime();
12
13 function loadScript(src) {
14 var theScript = document.createElement('script');
15 theScript.type = 'text/javascript';
16 if (src.substr(0, 4) == 'http')
17 theScript.src = src + forceRedownload;
18 else if (BASE_URL)
19 theScript.src = BASE_URL + src + forceRedownload;
20 else
21 theScript.src = chrome.extension.getURL(src) + forceRedownload;
22 document.getElementsByTagName('head')[0].appendChild(theScript);
23 }
24
25 loadScript('chromevox/background/bookmark_manager.js');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698