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 src="js/metrics.js"></script> | |
9 <script> | 10 <script> |
10 // Resources from shared locations are loaded dynamically, so we can | 11 // Resources from shared locations are loaded dynamically, so we can |
11 // get them from file:// when running as a normal web page, and from | 12 // get them from file:// when running as a normal web page, and from |
12 // chrome://resources/ when compiled directly into chrome. | 13 // chrome://resources/ when compiled directly into chrome. |
13 var css = | 14 var css = |
14 ['dialogs.css', | 15 ['dialogs.css', |
15 'list.css', | 16 'list.css', |
16 'table.css', | 17 'table.css', |
17 'menu.css' | 18 'menu.css' |
18 ]; | 19 ]; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
69 } | 70 } |
70 | 71 |
71 if (isHarness) | 72 if (isHarness) |
72 document.write('<script src="js/mock_chrome.js"><\57script>'); | 73 document.write('<script src="js/mock_chrome.js"><\57script>'); |
73 })(); | 74 })(); |
74 | 75 |
75 </script> | 76 </script> |
76 | 77 |
77 <link rel="stylesheet" href="css/file_manager.css"></link> | 78 <link rel="stylesheet" href="css/file_manager.css"></link> |
78 | 79 |
79 <script src="js/util.js"></script> | 80 <script src="js/util.js"></script> |
SeRya
2011/11/07 13:29:23
Why not here? Would be nice to see the whole list
Vladislav Kaznacheev
2011/11/08 11:06:20
We want metrics.js to be as close to the top as po
| |
80 <script src="js/file_copy_manager.js"></script> | 81 <script src="js/file_copy_manager.js"></script> |
81 <script src="js/file_manager.js"></script> | 82 <script src="js/file_manager.js"></script> |
82 <script src="js/file_manager_pyauto.js"></script> | 83 <script src="js/file_manager_pyauto.js"></script> |
83 <script src="js/main.js"></script> | 84 <script src="js/main.js"></script> |
84 <script src="js/metadata_provider.js"></script> | 85 <script src="js/metadata_provider.js"></script> |
85 | 86 |
87 <script> | |
88 metrics.recordTime('ScriptParse'); | |
89 </script> | |
90 | |
86 <!-- We have to set some default title, or chrome will use the page | 91 <!-- 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 | 92 -- 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 | 93 -- the directory as the page title. Until then, have a unicode glyph |
89 -- of a tape reel. | 94 -- of a tape reel. |
90 --> | 95 --> |
91 <title>✇</title> | 96 <title>✇</title> |
92 </head> | 97 </head> |
93 <body i18n-values=".style.fontFamily:WEB_FONT_FAMILY; | 98 <body i18n-values=".style.fontFamily:WEB_FONT_FAMILY; |
94 .style.fontSize:WEB_FONT_SIZE"> | 99 .style.fontSize:WEB_FONT_SIZE"> |
95 <commands> | 100 <commands> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
158 visibleif='this.dialogType_ == "saveas-file"'> | 163 visibleif='this.dialogType_ == "saveas-file"'> |
159 <div class=horizontal-spacer></div> | 164 <div class=horizontal-spacer></div> |
160 <button class=ok disabled tabindex=2>[OK]</button> | 165 <button class=ok disabled tabindex=2>[OK]</button> |
161 <button class=cancel tabindex=3 i18n-content=CANCEL_LABEL | 166 <button class=cancel tabindex=3 i18n-content=CANCEL_LABEL |
162 >[CANCEL]</button> | 167 >[CANCEL]</button> |
163 </div> | 168 </div> |
164 | 169 |
165 <script>init();</script> | 170 <script>init();</script> |
166 </body> | 171 </body> |
167 </html> | 172 </html> |
OLD | NEW |