| 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 customlogo:customlogo" | 8 customlogo:customlogo" |
| 9 install-animation-enabled="true"> | 9 install-animation-enabled="true"> |
| 10 <head> | 10 <head> |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 chrome.send('getRecentlyClosedTabs'); | 55 chrome.send('getRecentlyClosedTabs'); |
| 56 chrome.send('getForeignSessions'); | 56 chrome.send('getForeignSessions'); |
| 57 chrome.send('getApps'); | 57 chrome.send('getApps'); |
| 58 | 58 |
| 59 </script> | 59 </script> |
| 60 <!-- template data placeholder --> | 60 <!-- template data placeholder --> |
| 61 <link rel="stylesheet" href="new_tab.css"> | 61 <link rel="stylesheet" href="new_tab.css"> |
| 62 <link rel="stylesheet" href="ntp/most_visited.css"> | 62 <link rel="stylesheet" href="ntp/most_visited.css"> |
| 63 <link rel="stylesheet" href="ntp/apps.css"> | 63 <link rel="stylesheet" href="ntp/apps.css"> |
| 64 <link rel="stylesheet" href="shared/css/menu.css"> | 64 <link rel="stylesheet" href="shared/css/menu.css"> |
| 65 <link rel="stylesheet" href="chrome://resources/css/button.css"> | |
| 66 <link rel="stylesheet" href="chrome://resources/css/throbber.css"> | 65 <link rel="stylesheet" href="chrome://resources/css/throbber.css"> |
| 67 <link rel="stylesheet" href="sync_setup_overlay.css"> | 66 <link rel="stylesheet" href="sync_setup_overlay.css"> |
| 68 <link rel="stylesheet" href="new_tab_sync_promo.css"> | 67 <link rel="stylesheet" href="new_tab_sync_promo.css"> |
| 69 <script> | 68 <script> |
| 70 | 69 |
| 71 /** | 70 /** |
| 72 * Bitmask for the different UI sections. | 71 * Bitmask for the different UI sections. |
| 73 * This matches the Section enum in ../webui/shown_sections_handler.h | 72 * This matches the Section enum in ../webui/shown_sections_handler.h |
| 74 * @enum {number} | 73 * @enum {number} |
| 75 */ | 74 */ |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 var recentlyClosedInitiallyMenu = shownSections & MENU_RECENT; | 351 var recentlyClosedInitiallyMenu = shownSections & MENU_RECENT; |
| 353 setSectionMenuMode('apps', Section.APPS, appsInitiallyMenu, MENU_APPS); | 352 setSectionMenuMode('apps', Section.APPS, appsInitiallyMenu, MENU_APPS); |
| 354 setSectionMenuMode('most-visited', Section.THUMB, mostVisitedInitiallyMenu, | 353 setSectionMenuMode('most-visited', Section.THUMB, mostVisitedInitiallyMenu, |
| 355 MENU_THUMB); | 354 MENU_THUMB); |
| 356 setSectionMenuMode('recently-closed', undefined, recentlyClosedInitiallyMenu, | 355 setSectionMenuMode('recently-closed', undefined, recentlyClosedInitiallyMenu, |
| 357 MENU_RECENT); | 356 MENU_RECENT); |
| 358 | 357 |
| 359 layoutSections(); | 358 layoutSections(); |
| 360 </script> | 359 </script> |
| 361 </html> | 360 </html> |
| OLD | NEW |