OLD | NEW |
---|---|
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <!-- | 2 <!-- |
3 -- Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 -- Copyright (c) 2012 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 i18n-values="dir:textdirection;"> | 7 <html i18n-values="dir:textdirection;"> |
8 <head> | 8 <head> |
9 <if expr="0"> | |
satorux1
2012/03/25 00:22:26
you plan to get <if expr="0"> back before submissi
zel
2012/03/25 02:06:41
reverted
| |
10 <!-- <if ... /if> is removed while flattening HTML. --> | 9 <!-- <if ... /if> is removed while flattening HTML. --> |
11 <base href=""> | 10 <base href=""> |
12 <script> | 11 <script> |
13 // Instruction for enabling loading file manager files remotely (speeds up | 12 // Instruction for enabling loading file manager files remotely (speeds up |
14 // development cycle): | 13 // development cycle): |
15 // | 14 // |
16 // 1. Find the IDR_FILE_MANAGER_MAIN resource in | 15 // 1. Find the IDR_FILE_MANAGER_MAIN resource in |
17 // chrome/browser/resources/component_extension_resources.grd. | 16 // chrome/browser/resources/component_extension_resources.grd. |
18 // Change the "flattenhtml" attribute to false. | 17 // Change the "flattenhtml" attribute to false. |
19 // | 18 // |
20 // 2. Build and run the Chromium OS. | 19 // 2. Build and run the Chromium OS. |
21 // | 20 // |
22 // 3. Make source files available via the HTTP protocol: | 21 // 3. Make source files available via the HTTP protocol: |
23 // twistd web --path chrome/browser/resources/ --port 1080 | 22 // twistd web --path chrome/browser/resources/ --port 1080 |
24 // | 23 // |
25 // 4. Open the File Manager. Execute the following JS code in its context | 24 // 4. Open the File Manager. Execute the following JS code in its context |
26 // using DevTools: | 25 // using DevTools: |
27 // localStorage.base = 'http://yourmachine:1080/file_manager/' | 26 // localStorage.base = 'http://yourmachine:1080/file_manager/' |
28 // | 27 // |
29 // This will make the File Manager use fresh JS and CSS files from the | 28 // This will make the File Manager use fresh JS and CSS files from the |
30 // development machine. HTML files and JS files for WebWorkers would still | 29 // development machine. HTML files and JS files for WebWorkers would still |
31 // need a rebuild to update. | 30 // need a rebuild to update. |
32 | 31 localStorage.base = 'http://zel-linux.mtv.corp.google.com:1080/file_manage r/' |
satorux1
2012/03/25 00:22:26
remove
zel
2012/03/25 02:06:41
reverted
| |
33 document.querySelector('base').setAttribute('href', localStorage.base); | 32 document.querySelector('base').setAttribute('href', localStorage.base); |
34 </script> | 33 </script> |
35 </if> | |
36 <!-- metrics.js initiates load performance tracking | 34 <!-- metrics.js initiates load performance tracking |
satorux1
2012/03/25 00:22:26
ditto.
zel
2012/03/25 02:06:41
reverted
| |
37 so we want to parse it as early as possible --> | 35 so we want to parse it as early as possible --> |
38 <script src="js/metrics.js"></script> | 36 <script src="js/metrics.js"></script> |
39 <script> | 37 <script> |
40 (function() { | 38 (function() { |
41 // Switch to 'test harness' mode when loading from a file or http url. | 39 // Switch to 'test harness' mode when loading from a file or http url. |
42 var isHarness = document.location.protocol == 'file:' || | 40 var isHarness = document.location.protocol == 'file:' || |
43 document.location.protocol == 'http:'; | 41 document.location.protocol == 'http:'; |
44 | 42 |
45 if (isHarness) | 43 if (isHarness) |
46 document.write('<script src="js/mock_chrome.js"><\57script>'); | 44 document.write('<script src="js/mock_chrome.js"><\57script>'); |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
232 <div class="progress-bar hide-in-butter"> | 230 <div class="progress-bar hide-in-butter"> |
233 <div class="progress-track"></div> | 231 <div class="progress-track"></div> |
234 </div> | 232 </div> |
235 </div> | 233 </div> |
236 <div class="actions hide-in-butter"></div> | 234 <div class="actions hide-in-butter"></div> |
237 </div> | 235 </div> |
238 | 236 |
239 <script>init();</script> | 237 <script>init();</script> |
240 </body> | 238 </body> |
241 </html> | 239 </html> |
OLD | NEW |