| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <!-- | 2 <!-- |
| 3 -- Copyright (c) 2011 The Chromium Authors. All rights reserved. | 3 -- Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 4 -- Use of this source code is governed by a BSD-style license that can be | 4 -- Use of this source code is governed by a BSD-style license that can be |
| 5 -- found in the LICENSE file. | 5 -- found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 <html> | 7 <html> |
| 8 <head> | 8 <head> |
| 9 <script> | 9 <script> |
| 10 // Resources from shared locations are loaded dynamically, so we can | 10 // Resources from shared locations are loaded dynamically, so we can |
| 11 // get them from file:// when running as a normal web page, and from | 11 // get them from file:// when running as a normal web page, and from |
| 12 // chrome://resources/ when compiled directly into chrome. | 12 // chrome://resources/ when compiled directly into chrome. |
| 13 var css = | 13 var css = |
| 14 ['list.css', | 14 ['dialogs.css', |
| 15 'list.css', |
| 15 'table.css', | 16 'table.css', |
| 16 'menu.css' | 17 'menu.css' |
| 17 ]; | 18 ]; |
| 18 | 19 |
| 19 var script = | 20 var script = |
| 20 ['local_strings.js', | 21 ['local_strings.js', |
| 21 'i18n_template.js', | 22 'i18n_template.js', |
| 22 | 23 |
| 23 'cr.js', | 24 'cr.js', |
| 24 'cr/ui.js', | 25 'cr/ui.js', |
| 25 'cr/event_target.js', | 26 'cr/event_target.js', |
| 26 'cr/ui/array_data_model.js', | 27 'cr/ui/array_data_model.js', |
| 28 'cr/ui/dialogs.js', |
| 27 'cr/ui/list_item.js', | 29 'cr/ui/list_item.js', |
| 28 'cr/ui/list_selection_model.js', | 30 'cr/ui/list_selection_model.js', |
| 29 'cr/ui/list_single_selection_model.js', | 31 'cr/ui/list_single_selection_model.js', |
| 30 'cr/ui/list_selection_controller.js', | 32 'cr/ui/list_selection_controller.js', |
| 31 'cr/ui/list.js', | 33 'cr/ui/list.js', |
| 32 | 34 |
| 33 'cr/ui/splitter.js', | 35 'cr/ui/splitter.js', |
| 34 'cr/ui/table/table_splitter.js', | 36 'cr/ui/table/table_splitter.js', |
| 35 | 37 |
| 36 'cr/ui/table/table_column.js', | 38 'cr/ui/table/table_column.js', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 66 '"><\57script>'); | 68 '"><\57script>'); |
| 67 } | 69 } |
| 68 | 70 |
| 69 if (isHarness) | 71 if (isHarness) |
| 70 document.write('<script src="js/mock_chrome.js"><\57script>'); | 72 document.write('<script src="js/mock_chrome.js"><\57script>'); |
| 71 })(); | 73 })(); |
| 72 | 74 |
| 73 </script> | 75 </script> |
| 74 | 76 |
| 75 <link rel="stylesheet" href="css/file_manager.css"></link> | 77 <link rel="stylesheet" href="css/file_manager.css"></link> |
| 76 <link rel="stylesheet" href="css/dialogs.css"></link> | |
| 77 | 78 |
| 78 <script src="js/util.js"></script> | 79 <script src="js/util.js"></script> |
| 79 <script src="js/file_copy_manager.js"></script> | 80 <script src="js/file_copy_manager.js"></script> |
| 80 <script src="js/file_manager.js"></script> | 81 <script src="js/file_manager.js"></script> |
| 81 <script src="js/file_manager_pyauto.js"></script> | 82 <script src="js/file_manager_pyauto.js"></script> |
| 82 <script src="js/dialogs.js"></script> | |
| 83 <script src="js/main.js"></script> | 83 <script src="js/main.js"></script> |
| 84 <script src="js/metadata_provider.js"></script> | 84 <script src="js/metadata_provider.js"></script> |
| 85 | 85 |
| 86 <!-- We have to set some default title, or chrome will use the page | 86 <!-- We have to set some default title, or chrome will use the page |
| 87 -- name. As soon as we init and change to a directory, we'll use | 87 -- name. As soon as we init and change to a directory, we'll use |
| 88 -- the directory as the page title. Until then, have a unicode glyph | 88 -- the directory as the page title. Until then, have a unicode glyph |
| 89 -- of a tape reel. | 89 -- of a tape reel. |
| 90 --> | 90 --> |
| 91 <title>✇</title> | 91 <title>✇</title> |
| 92 </head> | 92 </head> |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 visibleif='this.dialogType_ == "saveas-file"'> | 177 visibleif='this.dialogType_ == "saveas-file"'> |
| 178 <div class=horizontal-spacer></div> | 178 <div class=horizontal-spacer></div> |
| 179 <button class=ok disabled tabindex=2>[OK]</button> | 179 <button class=ok disabled tabindex=2>[OK]</button> |
| 180 <button class=cancel tabindex=3 i18n-content=CANCEL_LABEL | 180 <button class=cancel tabindex=3 i18n-content=CANCEL_LABEL |
| 181 >[CANCEL]</button> | 181 >[CANCEL]</button> |
| 182 </div> | 182 </div> |
| 183 | 183 |
| 184 <script>init();</script> | 184 <script>init();</script> |
| 185 </body> | 185 </body> |
| 186 </html> | 186 </html> |
| OLD | NEW |