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 <!-- metrics.js initiates load performance tracking |
| 10 so we want to parse it as early as possible --> |
| 11 <script src="js/metrics.js"></script> |
| 12 |
9 <script> | 13 <script> |
10 // Resources from shared locations are loaded dynamically, so we can | 14 // Resources from shared locations are loaded dynamically, so we can |
11 // get them from file:// when running as a normal web page, and from | 15 // get them from file:// when running as a normal web page, and from |
12 // chrome://resources/ when compiled directly into chrome. | 16 // chrome://resources/ when compiled directly into chrome. |
13 var css = | 17 var css = |
14 ['dialogs.css', | 18 ['dialogs.css', |
15 'list.css', | 19 'list.css', |
16 'table.css', | 20 'table.css', |
17 'menu.css' | 21 'menu.css' |
18 ]; | 22 ]; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 80 |
77 <link rel="stylesheet" href="css/file_manager.css"></link> | 81 <link rel="stylesheet" href="css/file_manager.css"></link> |
78 | 82 |
79 <script src="js/util.js"></script> | 83 <script src="js/util.js"></script> |
80 <script src="js/file_copy_manager.js"></script> | 84 <script src="js/file_copy_manager.js"></script> |
81 <script src="js/file_manager.js"></script> | 85 <script src="js/file_manager.js"></script> |
82 <script src="js/file_manager_pyauto.js"></script> | 86 <script src="js/file_manager_pyauto.js"></script> |
83 <script src="js/main.js"></script> | 87 <script src="js/main.js"></script> |
84 <script src="js/metadata_provider.js"></script> | 88 <script src="js/metadata_provider.js"></script> |
85 | 89 |
| 90 <!-- For accurate load performance tracking |
| 91 place all scripts above this line --> |
| 92 <script> |
| 93 metrics.recordTime('ScriptParse'); |
| 94 </script> |
| 95 |
86 <!-- We have to set some default title, or chrome will use the page | 96 <!-- 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 | 97 -- 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 | 98 -- the directory as the page title. Until then, have a unicode glyph |
89 -- of a tape reel. | 99 -- of a tape reel. |
90 --> | 100 --> |
91 <title>✇</title> | 101 <title>✇</title> |
92 </head> | 102 </head> |
93 <body i18n-values=".style.fontFamily:WEB_FONT_FAMILY; | 103 <body i18n-values=".style.fontFamily:WEB_FONT_FAMILY; |
94 .style.fontSize:WEB_FONT_SIZE"> | 104 .style.fontSize:WEB_FONT_SIZE"> |
95 <commands> | 105 <commands> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 visibleif='this.dialogType_ == "saveas-file"'> | 168 visibleif='this.dialogType_ == "saveas-file"'> |
159 <div class=horizontal-spacer></div> | 169 <div class=horizontal-spacer></div> |
160 <button class=ok disabled tabindex=2>[OK]</button> | 170 <button class=ok disabled tabindex=2>[OK]</button> |
161 <button class=cancel tabindex=3 i18n-content=CANCEL_LABEL | 171 <button class=cancel tabindex=3 i18n-content=CANCEL_LABEL |
162 >[CANCEL]</button> | 172 >[CANCEL]</button> |
163 </div> | 173 </div> |
164 | 174 |
165 <script>init();</script> | 175 <script>init();</script> |
166 </body> | 176 </body> |
167 </html> | 177 </html> |
OLD | NEW |