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

Side by Side Diff: ui/file_manager/file_manager/audio_player/js/audio_player_scripts.js

Issue 582873003: Polymer elements added to third_party/polymer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « ui/file_manager/file_manager/audio_player.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 <include src="../../../../webui/resources/js/cr.js"/> 5 <include src="../../../../webui/resources/js/cr.js"/>
6 <include src="../../../../webui/resources/js/cr/event_target.js"/> 6 <include src="../../../../webui/resources/js/cr/event_target.js"/>
7 <include src="../../../../webui/resources/js/cr/ui/array_data_model.js"/> 7 <include src="../../../../webui/resources/js/cr/ui/array_data_model.js"/>
8 8
9 // Hack for polymer, notifying that CSP is enabled here. 9 // Hack for polymer, notifying that CSP is enabled here.
10 // TODO(yoshiki): Find a way to remove the hack. 10 // TODO(yoshiki): Find a way to remove the hack.
11 if (!('securityPolicy' in document)) 11 if (!('securityPolicy' in document))
12 document['securityPolicy'] = {}; 12 document['securityPolicy'] = {};
13 if (!('allowsEval' in document.securityPolicy)) 13 if (!('allowsEval' in document.securityPolicy))
14 document.securityPolicy['allowsEval'] = false; 14 document.securityPolicy['allowsEval'] = false;
15 15
16 // Force Polymer into dirty-checking mode, see http://crbug.com/351967 16 // Force Polymer into dirty-checking mode, see http://crbug.com/351967
17 Object['observe'] = undefined; 17 Object['observe'] = undefined;
18 18
19 <include src="../../../../../third_party/polymer/platform/platform.js"> 19 <include src="../../../../../third_party/polymer/components/platform/platform.js ">
20 <include src="../../../../../third_party/polymer/polymer/polymer.js"> 20 <include src="../../../../../third_party/polymer/components/polymer/polymer.js">
21 21
22 (function() { 22 (function() {
23 23
24 // 'strict mode' is invoked for this scope. 24 // 'strict mode' is invoked for this scope.
25 'use strict'; 25 'use strict';
26 26
27 <include src="../../common/js/async_util.js"/> 27 <include src="../../common/js/async_util.js"/>
28 <include src="../../common/js/util.js"/> 28 <include src="../../common/js/util.js"/>
29 <include src="../../common/js/volume_manager_common.js"/> 29 <include src="../../common/js/volume_manager_common.js"/>
30 <include src="../../foreground/js/file_type.js"/> 30 <include src="../../foreground/js/file_type.js"/>
31 <include src="../../foreground/js/volume_manager_wrapper.js"> 31 <include src="../../foreground/js/volume_manager_wrapper.js">
32 <include src="../../foreground/js/metadata/metadata_cache.js"/> 32 <include src="../../foreground/js/metadata/metadata_cache.js"/>
33 33
34 <include src="audio_player.js"/> 34 <include src="audio_player.js"/>
35 <include src="audio_player_model.js"/> 35 <include src="audio_player_model.js"/>
36 36
37 <include src="../elements/track_list.js"/> 37 <include src="../elements/track_list.js"/>
38 <include src="../elements/control_panel.js"/> 38 <include src="../elements/control_panel.js"/>
39 <include src="../elements/volume_controller.js"/> 39 <include src="../elements/volume_controller.js"/>
40 <include src="../elements/audio_player.js"/> 40 <include src="../elements/audio_player.js"/>
41 41
42 window.reload = reload; 42 window.reload = reload;
43 window.unload = unload; 43 window.unload = unload;
44 window.AudioPlayer = AudioPlayer; 44 window.AudioPlayer = AudioPlayer;
45 45
46 })(); 46 })();
OLDNEW
« no previous file with comments | « ui/file_manager/file_manager/audio_player.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698