Reland "Don't refcount tracking id -> slot id mapping."
[chromium-blink-merge.git] / ui / file_manager / audio_player / js / audio_player_scripts.js
blob2da94ba492cc8f7eed3a2934b046ff2f795e8fc8
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 // Force Polymer into dirty-checking mode, see http://crbug.com/351967
17 Object['observe'] = undefined;
19 <include src="../../../../third_party/polymer/components/polymer/polymer.js">
21 (function() {
23 // 'strict mode' is invoked for this scope.
24 'use strict';
26 <include src="../../file_manager/common/js/async_util.js"/>
27 <include src="../../file_manager/common/js/file_type.js"/>
28 <include src="../../file_manager/common/js/util.js"/>
29 <include src="../../file_manager/common/js/volume_manager_common.js"/>
30 <include src="../../file_manager/foreground/js/volume_manager_wrapper.js">
31 <include src="../../file_manager/foreground/js/metadata/metadata_cache.js"/>
33 <include src="audio_player.js"/>
34 <include src="audio_player_model.js"/>
36 <include src="../elements/track_list.js"/>
37 <include src="../elements/control_panel.js"/>
38 <include src="../elements/volume_controller.js"/>
39 <include src="../elements/audio_player.js"/>
41 window.reload = reload;
42 window.unload = unload;
43 window.AudioPlayer = AudioPlayer;
45 })();