| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html i18n-values=" | 2 <html i18n-values=" |
| 3 dir:textdirection; | 3 dir:textdirection; |
| 4 bookmarkbarattached:bookmarkbarattached; | 4 bookmarkbarattached:bookmarkbarattached; |
| 5 hasattribution:hasattribution; | 5 hasattribution:hasattribution; |
| 6 anim:anim; | 6 anim:anim; |
| 7 syncispresent:syncispresent"> | 7 syncispresent:syncispresent; |
| 8 has_3d:has_3d"> |
| 8 | 9 |
| 9 <meta charset="utf-8"> | 10 <meta charset="utf-8"> |
| 10 <title i18n-content="title"></title> | 11 <title i18n-content="title"></title> |
| 11 <script> | 12 <script> |
| 12 // Logging info for benchmarking purposes. | 13 // Logging info for benchmarking purposes. |
| 13 var log = []; | 14 var log = []; |
| 14 function logEvent(name, shouldLogTime) { | 15 function logEvent(name, shouldLogTime) { |
| 15 if (shouldLogTime) { | 16 if (shouldLogTime) { |
| 16 chrome.send('logEventTime', [name]); | 17 chrome.send('logEventTime', [name]); |
| 17 } | 18 } |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 registerCallback('syncMessageChanged'); | 52 registerCallback('syncMessageChanged'); |
| 52 registerCallback('tips'); | 53 registerCallback('tips'); |
| 53 registerCallback('onHomePageSet'); | 54 registerCallback('onHomePageSet'); |
| 54 registerCallback('getAppsCallback'); | 55 registerCallback('getAppsCallback'); |
| 55 registerCallback('setShownSections'); | 56 registerCallback('setShownSections'); |
| 56 | 57 |
| 57 </script> | 58 </script> |
| 58 <!-- template data placeholder --> | 59 <!-- template data placeholder --> |
| 59 <link rel="stylesheet" href="new_new_tab.css"> | 60 <link rel="stylesheet" href="new_new_tab.css"> |
| 60 <link rel="stylesheet" href="ntp/most_visited.css"> | 61 <link rel="stylesheet" href="ntp/most_visited.css"> |
| 62 <link rel="stylesheet" href="ntp/apps.css"> |
| 61 <link rel="stylesheet" href="shared/css/menu.css"> | 63 <link rel="stylesheet" href="shared/css/menu.css"> |
| 62 <script> | 64 <script> |
| 63 | 65 |
| 64 /** | 66 /** |
| 65 * Bitmask for the different UI sections. | 67 * Bitmask for the different UI sections. |
| 66 * This matches the Section enum in ../dom_ui/shown_sections_handler.h | 68 * This matches the Section enum in ../dom_ui/shown_sections_handler.h |
| 67 * @enum {number} | 69 * @enum {number} |
| 68 */ | 70 */ |
| 69 var Section = { | 71 var Section = { |
| 70 THUMB: 1, | 72 THUMB: 1, |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 <script src="shared/js/i18n_template.js"></script> | 211 <script src="shared/js/i18n_template.js"></script> |
| 210 <script> | 212 <script> |
| 211 i18nTemplate.process(document, templateData); | 213 i18nTemplate.process(document, templateData); |
| 212 </script> | 214 </script> |
| 213 <script src="shared/js/local_strings.js"></script> | 215 <script src="shared/js/local_strings.js"></script> |
| 214 <script src="shared/js/class_list.js"></script> | 216 <script src="shared/js/class_list.js"></script> |
| 215 <script src="shared/js/parse_html_subset.js"></script> | 217 <script src="shared/js/parse_html_subset.js"></script> |
| 216 <script src="ntp/util.js"></script> | 218 <script src="ntp/util.js"></script> |
| 217 <script src="ntp/most_visited.js"></script> | 219 <script src="ntp/most_visited.js"></script> |
| 218 <script src="new_new_tab.js"></script> | 220 <script src="new_new_tab.js"></script> |
| 221 <script src="ntp/apps.js"></script> |
| 219 </html> | 222 </html> |
| OLD | NEW |