Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / file_manager / audio_player / js / audio_player_scripts.js
blobec50fc74d751aba1d81d4ef98a7fb060f894a91c
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
3 // found in the LICENSE file.
5 <include src="../../../webui/resources/js/cr.js"/>
6 <include src="../../../webui/resources/js/cr/event_target.js"/>
7 <include src="../../../webui/resources/js/cr/ui/array_data_model.js"/>
9 // Hack for polymer, notifying that CSP is enabled here.
10 // TODO(yoshiki): Find a way to remove the hack.
11 if (!('securityPolicy' in document))
12   document['securityPolicy'] = {};
13 if (!('allowsEval' in document.securityPolicy))
14   document.securityPolicy['allowsEval'] = false;
16 (function() {
18 // 'strict mode' is invoked for this scope.
19 'use strict';
21 // Base classes.
22 <include src="../../file_manager/foreground/js/metadata/metadata_cache_set.js">
23 <include src="../../file_manager/foreground/js/metadata/new_metadata_provider.js">
25 <include src="../../file_manager/common/js/async_util.js"/>
26 <include src="../../file_manager/common/js/file_type.js"/>
27 <include src="../../file_manager/common/js/util.js"/>
28 <include src="../../file_manager/common/js/volume_manager_common.js"/>
29 <include src="../../file_manager/foreground/js/volume_manager_wrapper.js">
31 <include src="../../file_manager/foreground/js/metadata/content_metadata_provider.js">
32 <include src="../../file_manager/foreground/js/metadata/external_metadata_provider.js">
33 <include src="../../file_manager/foreground/js/metadata/file_system_metadata_provider.js">
34 <include src="../../file_manager/foreground/js/metadata/metadata_cache_item.js">
35 <include src="../../file_manager/foreground/js/metadata/metadata_item.js">
36 <include src="../../file_manager/foreground/js/metadata/metadata_model.js">
37 <include src="../../file_manager/foreground/js/metadata/multi_metadata_provider.js">
38 <include src="../../file_manager/foreground/js/metadata/thumbnail_model.js">
40 <include src="audio_player.js"/>
41 <include src="audio_player_model.js"/>
43 window.reload = reload;
44 window.unload = unload;
45 window.AudioPlayer = AudioPlayer;
47 })();