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

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

Issue 144883002: [Files.app] Initial implementation of new audio player (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make the script/css files flattened. Created 6 years, 10 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 2013 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 // The include directives are put into Javascript-style comments to prevent
6 // parsing errors in non-flattened mode. The flattener still sees them.
7 // Note that this makes the flattener to comment out the first line of the
8 // included file but that's all right since any javascript file should start
9 // with a copyright comment anyway.
10
11 //<include src="../../../../../../ui/webui/resources/js/cr.js"/>
12 //<include src="../../../../../../ui/webui/resources/js/cr/event_target.js"/>
13 //<include src="../../../../../../ui/webui/resources/js/cr/ui/array_data_model.j s"/>
14
15 // Hack for polymer, notifying that CSP is enabled here.
16 // TODO(yoshiki): Find a way to remove the hack.
17 if (!('securityPolicy' in document))
18 document['securityPolicy'] = {};
19 if (!('allowsEval' in document.securityPolicy))
20 document.securityPolicy['allowsEval'] = false;
21
22 //<include src="../../../../../../third_party/polymer/platform/platform.js">
23 //<include src="../../../../../../third_party/polymer/polymer/polymer.js">
24
25 (function() {
26
27 // 'strict mode' is invoked for this scope.
28 'use strict';
29
30 //<include src="../../common/js/async_util.js"/>
31 //<include src="../../common/js/util.js"/>
32 //<include src="../../common/js/path_util.js"/>
33 //<include src="../../foreground/js/file_type.js"/>
34 //<include src="../../foreground/js/volume_manager_wrapper.js">
35 //<include src="../../foreground/js/metadata/metadata_cache.js"/>
36
37 //<include src="audio_player.js"/>
38 //<include src="../../foreground/js/media/player_testapi.js"/>
39
40 //<include src="../elements/track_list.js"/>
41 //<include src="../elements/control_panel.js"/>
42 //<include src="../elements/volume_controller.js"/>
43 //<include src="../elements/audio_player.js"/>
44
45 window.reload = reload;
46 window.unload = unload;
47 window.AudioPlayer = AudioPlayer;
48
49 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698