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

Side by Side Diff: chrome/browser/resources/file_manager/audio_player/js/audio_player_scripts.js

Issue 247123002: Move Files.app files to ui/file_manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the test failure on non-chromeos Created 6 years, 8 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
OLDNEW
(Empty)
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.
4
5 <include src="../../../../../../ui/webui/resources/js/cr.js"/>
6 <include src="../../../../../../ui/webui/resources/js/cr/event_target.js"/>
7 <include src="../../../../../../ui/webui/resources/js/cr/ui/array_data_model.js" />
8
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;
15
16 // Force Polymer into dirty-checking mode, see http://crbug.com/351967
17 Object['observe'] = undefined;
18 Object['unobserve'] = undefined;
19
20 <include src="../../../../../../third_party/polymer/platform/platform.js">
21 <include src="../../../../../../third_party/polymer/polymer/polymer.js">
22
23 (function() {
24
25 // 'strict mode' is invoked for this scope.
26 'use strict';
27
28 <include src="../../common/js/async_util.js"/>
29 <include src="../../common/js/util.js"/>
30 <include src="../../common/js/path_util.js"/>
31 <include src="../../foreground/js/file_type.js"/>
32 <include src="../../foreground/js/volume_manager_wrapper.js">
33 <include src="../../foreground/js/metadata/metadata_cache.js"/>
34
35 <include src="audio_player.js"/>
36 <include src="audio_player_model.js"/>
37 <include src="../../foreground/js/media/player_testapi.js"/>
38
39 <include src="../elements/track_list.js"/>
40 <include src="../elements/control_panel.js"/>
41 <include src="../elements/volume_controller.js"/>
42 <include src="../elements/audio_player.js"/>
43
44 window.reload = reload;
45 window.unload = unload;
46 window.AudioPlayer = AudioPlayer;
47
48 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698