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

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: Separete the image files from this patch Created 6 years, 11 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 (c) 2013 The Chromium Authors. All rights reserved.
mtomasz 2014/01/23 08:05:09 ditto 2014
yoshiki 2014/01/24 15:34:19 Done.
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 window.reload = reload;
41 window.unload = unload;
42 window.AudioPlayer = AudioPlayer;
43
44 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698