| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 -- Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 -- Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 -- Use of this source code is governed by a BSD-style license that can be | 3 -- Use of this source code is governed by a BSD-style license that can be |
| 4 -- found in the LICENSE file. | 4 -- found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 <!DOCTYPE HTML> | 6 <!DOCTYPE HTML> |
| 7 <html> | 7 <html> |
| 8 <head> | 8 <head> |
| 9 <!-- We have to set some default title, or chrome will use the page name. | 9 <!-- We have to set some default title, or chrome will use the page name. |
| 10 -- As soon as the i18n'd strings are loaded we replace it with the correct | 10 -- As soon as the i18n'd strings are loaded we replace it with the correct |
| 11 -- string. Until then, use an invisible non-whitespace character. | 11 -- string. Until then, use an invisible non-whitespace character. |
| 12 --> | 12 --> |
| 13 <title></title> | 13 <title></title> |
| 14 <link rel="icon" type="image/png" href="images/media/audio_player.png"> | 14 <link rel="icon" type="image/png" href="images/media/audio_player.png"> |
| 15 <link rel="stylesheet" type="text/css" href="css/media_controls.css"> | 15 <link rel="stylesheet" type="text/css" href="css/media_controls.css"> |
| 16 <link rel="stylesheet" type="text/css" href="css/audio_player.css"> | 16 <link rel="stylesheet" type="text/css" href="css/audio_player.css"> |
| 17 | 17 |
| 18 <!-- Don't load mediaplayer_scripts.js when flattening is disabled --> | 18 <!-- Don't load mediaplayer_scripts.js when flattening is disabled --> |
| 19 <if expr="0"><!-- </if> | 19 <if expr="0"><!-- </if> |
| 20 <script src="js/media/mediaplayer_scripts.js"></script> | 20 <script src="foreground/js/media/mediaplayer_scripts.js"></script> |
| 21 <if expr="0"> --></if> | 21 <if expr="0"> --></if> |
| 22 | 22 |
| 23 <if expr="0"> | 23 <if expr="0"> |
| 24 <!-- This section is used when the file manager is loaded with | 24 <!-- This section is used when the file manager is loaded with |
| 25 'filemgr-ext-path' command-line flag. --> | 25 'filemgr-ext-path' command-line flag. --> |
| 26 <!-- Keep the list in sync with mediaplayer_scripts.js. --> | 26 <!-- Keep the list in sync with mediaplayer_scripts.js. --> |
| 27 <script src="chrome://resources/js/cr.js"></script> | 27 <script src="chrome://resources/js/cr.js"></script> |
| 28 <script src="chrome://resources/js/cr/event_target.js"></script> | 28 <script src="chrome://resources/js/cr/event_target.js"></script> |
| 29 <script src="chrome://resources/js/cr/ui/array_data_model.js"></script> | 29 <script src="chrome://resources/js/cr/ui/array_data_model.js"></script> |
| 30 <script src="js/async_util.js"></script> | |
| 31 <script src="js/util.js"></script> | |
| 32 <script src="js/path_util.js"></script> | |
| 33 <script src="js/file_type.js"></script> | |
| 34 <script src="js/volume_manager_wrapper.js"></script> | |
| 35 <script src="js/metadata/metadata_cache.js"></script> | |
| 36 | 30 |
| 37 <script src="js/media/media_controls.js"></script> | 31 <script src="common/js/async_util.js"></script> |
| 38 <script src="js/media/audio_player.js"></script> | 32 <script src="common/js/util.js"></script> |
| 39 <script src="js/media/player_testapi.js"></script> | 33 <script src="common/js/path_util.js"></script> |
| 34 |
| 35 <script src="foreground/js/file_type.js"></script> |
| 36 <script src="foreground/js/volume_manager_wrapper.js"></script> |
| 37 <script src="foreground/js/metadata/metadata_cache.js"></script> |
| 38 |
| 39 <script src="foreground/js/media/media_controls.js"></script> |
| 40 <script src="foreground/js/media/audio_player.js"></script> |
| 41 <script src="foreground/js/media/player_testapi.js"></script> |
| 40 </if> | 42 </if> |
| 41 </head> | 43 </head> |
| 42 <body> | 44 <body> |
| 43 <div class="audio-player"></div> | 45 <div class="audio-player"></div> |
| 44 </body> | 46 </body> |
| 45 </html> | 47 </html> |
| OLD | NEW |