| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html id="t" jsvalues="dir:textdirection;firstview:firstview;bookmarkbarattached
:bookmarkbarattached;hasattribution:hasattribution;anim:anim"> | 2 <html id="t" jsvalues="dir:textdirection;firstview:firstview;bookmarkbarattached
:bookmarkbarattached;hasattribution:hasattribution;anim:anim"> |
| 3 | 3 |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <title jscontent="title"></title> | 5 <title jscontent="title"></title> |
| 6 <script> | 6 <script> |
| 7 // Logging info for benchmarking purposes. | 7 // Logging info for benchmarking purposes. |
| 8 var log = []; | 8 var log = []; |
| 9 function logEvent(name) { | 9 function logEvent(name) { |
| 10 log.push([name, Date.now()]); | 10 log.push([name, Date.now()]); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 registerCallback('onShownSections'); | 41 registerCallback('onShownSections'); |
| 42 registerCallback('mostVisitedPages'); | 42 registerCallback('mostVisitedPages'); |
| 43 registerCallback('downloadsList'); | 43 registerCallback('downloadsList'); |
| 44 registerCallback('recentlyClosedTabs'); | 44 registerCallback('recentlyClosedTabs'); |
| 45 registerCallback('tips'); | 45 registerCallback('tips'); |
| 46 | 46 |
| 47 logEvent('log start'); | 47 logEvent('log start'); |
| 48 | 48 |
| 49 </script> | 49 </script> |
| 50 <link rel="stylesheet" href="new_new_tab.css"> | 50 <link rel="stylesheet" href="new_tab.css"> |
| 51 <link id="themecss" rel="stylesheet" href="chrome://theme/css/newtab.css"> | 51 <link id="themecss" rel="stylesheet" href="chrome://theme/css/newtab.css"> |
| 52 </head> | 52 </head> |
| 53 <body class="loading" | 53 <body class="loading" |
| 54 jsvalues=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> | 54 jsvalues=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> |
| 55 | 55 |
| 56 <div id="main"> | 56 <div id="main"> |
| 57 | 57 |
| 58 <div id="view-toolbar"><input type=checkbox id="thumb-checkbox" | 58 <div id="view-toolbar"><input type=checkbox id="thumb-checkbox" |
| 59 ><input type=checkbox id="list-checkbox" | 59 ><input type=checkbox id="list-checkbox" |
| 60 ><input type="button" id="option-button"></div> | 60 ><input type="button" id="option-button"></div> |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 <div jsskip="true"> | 180 <div jsskip="true"> |
| 181 <div class="window-menu" id="window-menu"> | 181 <div class="window-menu" id="window-menu"> |
| 182 <span class="item" jsselect="$this" | 182 <span class="item" jsselect="$this" |
| 183 jsvalues=".style.backgroundImage:'url(chrome://favicon/' + url + ')'; | 183 jsvalues=".style.backgroundImage:'url(chrome://favicon/' + url + ')'; |
| 184 dir:direction;" | 184 dir:direction;" |
| 185 jscontent="title"></span> | 185 jscontent="title"></span> |
| 186 </div> | 186 </div> |
| 187 </div> | 187 </div> |
| 188 | 188 |
| 189 <script src="local_strings.js"></script> | 189 <script src="local_strings.js"></script> |
| 190 <script src="new_new_tab.js"></script> | 190 <script src="new_tab.js"></script> |
| 191 </html> | 191 </html> |
| OLD | NEW |