Index: chrome/browser/resources/video_player/js/video_player_scripts.js |
diff --git a/chrome/browser/resources/video_player/js/video_player_scripts.js b/chrome/browser/resources/video_player/js/video_player_scripts.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c1a5fbe0d6262eb353204ef5ef3ab00439f4e6a0 |
--- /dev/null |
+++ b/chrome/browser/resources/video_player/js/video_player_scripts.js |
@@ -0,0 +1,25 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// The include directives are put into Javascript-style comments to prevent |
+// parsing errors in non-flattened mode. The flattener still sees them. |
+// Note that this makes the flattener to comment out the first line of the |
+// included file but that's all right since any javascript file should start |
+// with a copyright comment anyway. |
+ |
+//<include src="../../../../../ui/webui/resources/js/cr.js"/> |
+//<include src="../../../../../ui/webui/resources/js/load_time_data.js"/> |
+ |
+(function() { |
+'strict mode'; |
+ |
+//<include src="../../file_manager/common/js/util.js"/> |
+//<include src="../../file_manager/foreground/js/media/media_controls.js"/> |
+//<include src="../../file_manager/foreground/js/media/util.js"/> |
+ |
+//<include src="video_player.js"/> |
+ |
+window.unload = unload; |
+ |
+})(); |