Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html class="starting-up" i18n-values="dir:textdirection; | 2 <html class="starting-up" i18n-values="dir:textdirection; |
| 3 bookmarkbarattached:bookmarkbarattached; | 3 bookmarkbarattached:bookmarkbarattached; |
| 4 lang:language"> | 4 lang:language"> |
| 5 <head> | 5 <head> |
| 6 <meta charset="utf-8"> | 6 <meta charset="utf-8"> |
| 7 <title i18n-content="title"></title> | 7 <title i18n-content="title"></title> |
| 8 <!-- Don't scale the viewport in either portrait or landscape mode. | 8 <!-- Don't scale the viewport in either portrait or landscape mode. |
| 9 Note that this means apps will be reflowed when rotated (like iPad). | 9 Note that this means apps will be reflowed when rotated (like iPad). |
| 10 If we wanted to maintain position we could remove 'maximum-scale' so | 10 If we wanted to maintain position we could remove 'maximum-scale' so |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 21 <link rel="stylesheet" href="../../../../ui/webui/resources/css/bubble.css"> | 21 <link rel="stylesheet" href="../../../../ui/webui/resources/css/bubble.css"> |
| 22 <link rel="stylesheet" href="../../../../ui/webui/resources/css/expandable_bubbl e.css"> | 22 <link rel="stylesheet" href="../../../../ui/webui/resources/css/expandable_bubbl e.css"> |
| 23 <link rel="stylesheet" href="../../../../ui/webui/resources/css/menu.css"> | 23 <link rel="stylesheet" href="../../../../ui/webui/resources/css/menu.css"> |
| 24 <link rel="stylesheet" href="../../../../ui/webui/resources/css/menu_button.css" > | 24 <link rel="stylesheet" href="../../../../ui/webui/resources/css/menu_button.css" > |
| 25 <link rel="stylesheet" href="../../../../ui/webui/resources/css/trash.css"> | 25 <link rel="stylesheet" href="../../../../ui/webui/resources/css/trash.css"> |
| 26 <link rel="stylesheet" href="../../../../ui/webui/resources/css/widgets.css"> | 26 <link rel="stylesheet" href="../../../../ui/webui/resources/css/widgets.css"> |
| 27 <link rel="stylesheet" href="apps_page.css"> | 27 <link rel="stylesheet" href="apps_page.css"> |
| 28 <link rel="stylesheet" href="nav_dot.css"> | 28 <link rel="stylesheet" href="nav_dot.css"> |
| 29 <link rel="stylesheet" href="new_tab.css"> | 29 <link rel="stylesheet" href="new_tab.css"> |
| 30 <link rel="stylesheet" href="tile_page.css"> | 30 <link rel="stylesheet" href="tile_page.css"> |
| 31 <link id="themecss" rel="stylesheet" href="chrome://theme/css/new_tab_theme.css" > | 31 <script> |
|
Dan Beam
2017/01/19 23:18:54
maybe we could just use our new $i18n{} mechanism
rune
2017/01/19 23:38:51
Will that C++ string change on each load? I think
| |
| 32 | 32 // Until themes can clear the cache, force-reload the theme stylesheet. |
| 33 document.write('<link id="themecss" rel="stylesheet" ' + | |
| 34 'href="chrome://theme/css/new_tab_theme.css?' + Date.now() + '">' ); | |
|
Dan Beam
2017/01/21 02:05:56
80 col wrap
| |
| 35 </script> | |
|
Dan Beam
2017/01/19 23:18:54
i thought CSP prevented inline scripts from runnin
rune
2017/01/19 23:38:51
Yes, it seems so. This is copied from incognito_ta
| |
| 33 <script src="../../../../ui/webui/resources/js/action_link.js"></script> | 36 <script src="../../../../ui/webui/resources/js/action_link.js"></script> |
| 34 <script src="../../../../ui/webui/resources/js/event_tracker.js"></script> | 37 <script src="../../../../ui/webui/resources/js/event_tracker.js"></script> |
| 35 <script src="../../../../ui/webui/resources/js/util.js"></script> | 38 <script src="../../../../ui/webui/resources/js/util.js"></script> |
| 36 | 39 |
| 37 <script src="../../../../ui/webui/resources/js/cr.js"></script> | 40 <script src="../../../../ui/webui/resources/js/cr.js"></script> |
| 38 <script src="../../../../ui/webui/resources/js/cr/event_target.js"></script> | 41 <script src="../../../../ui/webui/resources/js/cr/event_target.js"></script> |
| 39 <script src="../../../../ui/webui/resources/js/cr/ui.js"></script> | 42 <script src="../../../../ui/webui/resources/js/cr/ui.js"></script> |
| 40 <script src="../../../../ui/webui/resources/js/cr/ui/bubble.js"></script> | 43 <script src="../../../../ui/webui/resources/js/cr/ui/bubble.js"></script> |
| 41 <script src="../../../../ui/webui/resources/js/cr/ui/card_slider.js"></script> | 44 <script src="../../../../ui/webui/resources/js/cr/ui/card_slider.js"></script> |
| 42 <script src="../../../../ui/webui/resources/js/cr/ui/context_menu_handler.js"></ script> | 45 <script src="../../../../ui/webui/resources/js/cr/ui/context_menu_handler.js"></ script> |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 148 </div> | 151 </div> |
| 149 <span class="title"></span> | 152 <span class="title"></span> |
| 150 </div> | 153 </div> |
| 151 | 154 |
| 152 </div> | 155 </div> |
| 153 | 156 |
| 154 <!-- This is used to measure text in the current locale. It is not visible. --> | 157 <!-- This is used to measure text in the current locale. It is not visible. --> |
| 155 <div id="fontMeasuringDiv"></div> | 158 <div id="fontMeasuringDiv"></div> |
| 156 | 159 |
| 157 </html> | 160 </html> |
| OLD | NEW |