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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 chrome.send('getRecentlyClosedTabs'); | 47 chrome.send('getRecentlyClosedTabs'); |
48 chrome.send('getForeignSessions'); | 48 chrome.send('getForeignSessions'); |
49 chrome.send('getApps'); | 49 chrome.send('getApps'); |
50 | 50 |
51 registerCallback('mostVisitedPages'); | 51 registerCallback('mostVisitedPages'); |
52 registerCallback('recentlyClosedTabs'); | 52 registerCallback('recentlyClosedTabs'); |
53 registerCallback('syncMessageChanged'); | 53 registerCallback('syncMessageChanged'); |
54 registerCallback('getAppsCallback'); | 54 registerCallback('getAppsCallback'); |
55 registerCallback('setShownSections'); | 55 registerCallback('setShownSections'); |
56 registerCallback('foreignSessions'); | 56 registerCallback('foreignSessions'); |
| 57 registerCallback('bookmarkBarDetached'); |
| 58 registerCallback('bookmarkBarAttached'); |
57 | 59 |
58 </script> | 60 </script> |
59 <!-- template data placeholder --> | 61 <!-- template data placeholder --> |
60 <link rel="stylesheet" href="new_new_tab.css"> | 62 <link rel="stylesheet" href="new_new_tab.css"> |
61 <link rel="stylesheet" href="ntp/most_visited.css"> | 63 <link rel="stylesheet" href="ntp/most_visited.css"> |
62 <link rel="stylesheet" href="ntp/apps.css"> | 64 <link rel="stylesheet" href="ntp/apps.css"> |
63 <link rel="stylesheet" href="shared/css/menu.css"> | 65 <link rel="stylesheet" href="shared/css/menu.css"> |
64 <script> | 66 <script> |
65 | 67 |
66 /** | 68 /** |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 // disabled or not. So we need to add the 'disabled' class back to the apps | 331 // disabled or not. So we need to add the 'disabled' class back to the apps |
330 // section here. We remove it later, once we know for sure we want it to be | 332 // section here. We remove it later, once we know for sure we want it to be |
331 // enabled. | 333 // enabled. |
332 // | 334 // |
333 // See also: crbug.com/67273. | 335 // See also: crbug.com/67273. |
334 $('apps').classList.add('disabled'); | 336 $('apps').classList.add('disabled'); |
335 | 337 |
336 layoutSections(); | 338 layoutSections(); |
337 </script> | 339 </script> |
338 </html> | 340 </html> |
OLD | NEW |