OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html i18n-values=" | 2 <html i18n-values=" |
3 dir:textdirection; | 3 dir:textdirection; |
4 hasattribution:hasattribution; | 4 hasattribution:hasattribution; |
5 themegravity:themegravity; | 5 themegravity:themegravity; |
6 bookmarkbarattached:bookmarkbarattached;" | 6 bookmarkbarattached:bookmarkbarattached;" |
7 class="starting-up"> | 7 class="starting-up"> |
8 <head> | 8 <head> |
9 <meta charset="utf-8"> | 9 <meta charset="utf-8"> |
10 <title i18n-content="title"></title> | 10 <title i18n-content="title"></title> |
11 <!-- Don't scale the viewport in either portrait or landscape mode. | 11 <!-- Don't scale the viewport in either portrait or landscape mode. |
12 Note that this means apps will be reflowed when rotated (like iPad). | 12 Note that this means apps will be reflowed when rotated (like iPad). |
13 If we wanted to maintain position we could remove 'maximum-scale' so | 13 If we wanted to maintain position we could remove 'maximum-scale' so |
14 that we'd zoom out in portrait mode, but then there would be a bunch | 14 that we'd zoom out in portrait mode, but then there would be a bunch |
15 of unusable space at the bottom. | 15 of unusable space at the bottom. |
16 --> | 16 --> |
17 <meta name="viewport" | 17 <meta name="viewport" |
18 content="user-scalable=no, width=device-width, maximum-scale=1.0"> | 18 content="user-scalable=no, width=device-width, maximum-scale=1.0"> |
19 | 19 |
| 20 <!-- Mock setup --> |
| 21 <script src="../shared/js/load_time_data.js"></script> |
| 22 <script src="mock/mock.js"></script> |
| 23 <script src="mock/mockData.js"></script> |
| 24 <!-- Mock setup end --> |
| 25 |
| 26 |
20 <!-- It's important that this be the first script loaded. --> | 27 <!-- It's important that this be the first script loaded. --> |
21 <script src="../ntp4/logging.js"></script> | 28 <script src="../ntp4/logging.js"></script> |
22 | 29 |
23 <link rel="stylesheet" href="../shared/css/bubble.css"> | 30 <link rel="stylesheet" href="../shared/css/bubble.css"> |
24 <link rel="stylesheet" href="../shared/css/expandable_bubble.css"> | 31 <link rel="stylesheet" href="../shared/css/expandable_bubble.css"> |
25 <link rel="stylesheet" href="../shared/css/menu.css"> | 32 <link rel="stylesheet" href="../shared/css/menu.css"> |
26 <link rel="stylesheet" href="../shared/css/menu_button.css"> | 33 <link rel="stylesheet" href="../shared/css/menu_button.css"> |
27 <link rel="stylesheet" href="../shared/css/trash.css"> | 34 <link rel="stylesheet" href="../shared/css/trash.css"> |
28 <link rel="stylesheet" href="../shared/css/widgets.css"> | 35 <link rel="stylesheet" href="../shared/css/widgets.css"> |
29 <link rel="stylesheet" href="../ntp4/apps_page.css"> | 36 <link rel="stylesheet" href="../ntp4/apps_page.css"> |
30 <link rel="stylesheet" href="chrome://newtab/suggestions_page.css"> | 37 <link rel="stylesheet" href="../ntp4/suggestions_page.css"> |
| 38 |
| 39 <!-- |
31 <link rel="stylesheet" href="../ntp4/most_visited_page.css"> | 40 <link rel="stylesheet" href="../ntp4/most_visited_page.css"> |
| 41 --> |
| 42 |
32 <link rel="stylesheet" href="../ntp4/nav_dot.css"> | 43 <link rel="stylesheet" href="../ntp4/nav_dot.css"> |
33 <link rel="stylesheet" href="../ntp4/new_tab.css"> | 44 <link rel="stylesheet" href="../ntp4/new_tab.css"> |
| 45 |
| 46 <!-- |
34 <link rel="stylesheet" href="../ntp4/footer_menu.css"> | 47 <link rel="stylesheet" href="../ntp4/footer_menu.css"> |
| 48 --> |
| 49 |
| 50 <!-- |
35 <link rel="stylesheet" href="../ntp4/tile_page.css"> | 51 <link rel="stylesheet" href="../ntp4/tile_page.css"> |
| 52 --> |
| 53 |
36 <link id="themecss" rel="stylesheet"> | 54 <link id="themecss" rel="stylesheet"> |
37 | 55 |
| 56 <link rel="stylesheet" href="new_tab.css"> |
| 57 <link rel="stylesheet" href="thumbnail_page.css"> |
| 58 |
| 59 |
38 <script src="../shared/js/event_tracker.js"></script> | 60 <script src="../shared/js/event_tracker.js"></script> |
| 61 <!-- |
39 <script src="../shared/js/load_time_data.js"></script> | 62 <script src="../shared/js/load_time_data.js"></script> |
| 63 --> |
40 <script src="../shared/js/parse_html_subset.js"></script> | 64 <script src="../shared/js/parse_html_subset.js"></script> |
41 <script src="../shared/js/util.js"></script> | 65 <script src="../shared/js/util.js"></script> |
42 | 66 |
43 <script src="../shared/js/cr.js"></script> | 67 <script src="../shared/js/cr.js"></script> |
44 <script src="../shared/js/cr/ui.js"></script> | 68 <script src="../shared/js/cr/ui.js"></script> |
45 <script src="../shared/js/cr/ui/bubble.js"></script> | 69 <script src="../shared/js/cr/ui/bubble.js"></script> |
46 <script src="../shared/js/cr/ui/card_slider.js"></script> | 70 <script src="../shared/js/cr/ui/card_slider.js"></script> |
47 <script src="../shared/js/cr/ui/context_menu_handler.js"></script> | 71 <script src="../shared/js/cr/ui/context_menu_handler.js"></script> |
48 <script src="../shared/js/cr/ui/drag_wrapper.js"></script> | 72 <script src="../shared/js/cr/ui/drag_wrapper.js"></script> |
49 <script src="../shared/js/cr/ui/expandable_bubble.js"></script> | 73 <script src="../shared/js/cr/ui/expandable_bubble.js"></script> |
50 <script src="../shared/js/cr/ui/menu.js"></script> | 74 <script src="../shared/js/cr/ui/menu.js"></script> |
51 <script src="../shared/js/cr/ui/menu_item.js"></script> | 75 <script src="../shared/js/cr/ui/menu_item.js"></script> |
52 <script src="../shared/js/cr/ui/position_util.js"></script> | 76 <script src="../shared/js/cr/ui/position_util.js"></script> |
53 <script src="../shared/js/cr/ui/menu_button.js"></script> | 77 <script src="../shared/js/cr/ui/menu_button.js"></script> |
54 <script src="../shared/js/cr/ui/context_menu_button.js"></script> | 78 <script src="../shared/js/cr/ui/context_menu_button.js"></script> |
55 <script src="../shared/js/cr/ui/touch_handler.js"></script> | 79 <script src="../shared/js/cr/ui/touch_handler.js"></script> |
56 | 80 |
57 <script src="../ntp4/tile_page.js"></script> | 81 <script src="../ntp4/tile_page.js"></script> |
58 <script src="../ntp4/apps_page.js"></script> | 82 <script src="../ntp4/apps_page.js"></script> |
59 <script src="../ntp4/dot_list.js"></script> | 83 <script src="../ntp4/dot_list.js"></script> |
| 84 |
| 85 |
| 86 <script src="./tile_page.js"></script> |
| 87 <script src="./thumbnail_page.js"></script> |
| 88 <script src="./most_visited_page.js"></script> |
| 89 |
| 90 <!-- |
60 <script src="../ntp4/most_visited_page.js"></script> | 91 <script src="../ntp4/most_visited_page.js"></script> |
| 92 --> |
| 93 |
61 <script src="../ntp4/trash.js"></script> | 94 <script src="../ntp4/trash.js"></script> |
62 <script src="../ntp4/page_list_view.js"></script> | 95 <script src="../ntp4/page_list_view.js"></script> |
63 <script src="../ntp4/page_switcher.js"></script> | 96 <script src="../ntp4/page_switcher.js"></script> |
64 | 97 |
65 <script src="../ntp4/nav_dot.js"></script> | 98 <script src="../ntp4/nav_dot.js"></script> |
66 <script src="../ntp4/new_tab.js"></script> | 99 |
| 100 <script src="./new_tab.js"></script> |
| 101 |
67 <script src="../ntp4/recently_closed.js"></script> | 102 <script src="../ntp4/recently_closed.js"></script> |
68 <script src="../ntp4/other_sessions.js"></script> | 103 <script src="../ntp4/other_sessions.js"></script> |
69 </head> | 104 </head> |
70 | 105 |
71 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> | 106 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> |
72 <button id="login-container" class="custom-appearance" hidden> | 107 <button id="login-container" class="custom-appearance" hidden> |
73 <div id="login-status-header-container" class="login-status-row"> | 108 <div id="login-status-header-container" class="login-status-row"> |
74 <div id="login-status-header"></div> | 109 <div id="login-status-header"></div> |
75 </div> | 110 </div> |
76 <div id="login-status-sub-header"></div> | 111 <div id="login-status-sub-header"></div> |
77 </button> | 112 </button> |
78 | 113 |
79 <div id="notification-container" class="inactive" hidden> | 114 <div id="notification-container" class="inactive" hidden> |
80 <div id="notification"> | 115 <div id="notification"> |
81 <span></span> | 116 <span></span> |
82 <div id="notificationLinks"></div> | 117 <div id="notificationLinks"></div> |
83 <button class="close-button custom-appearance" class="custom-appearance"> | 118 <button class="close-button custom-appearance" class="custom-appearance"> |
84 </button> | 119 </button> |
85 </div> | 120 </div> |
86 </div> | 121 </div> |
87 | 122 |
88 <div id="card-slider-frame"> | 123 <div id="card-slider-frame"> |
| 124 <div id="page-list-menu"> |
| 125 <ul id="dot-list"></ul> |
| 126 </div> |
89 <button id="page-switcher-start" class="page-switcher custom-appearance" | 127 <button id="page-switcher-start" class="page-switcher custom-appearance" |
90 tabindex="2" hidden>‹ | 128 tabindex="2" hidden>‹ |
91 </button> | 129 </button> |
92 <div id="page-list"></div> | 130 <div id="page-list"></div> |
93 <button id="page-switcher-end" class="page-switcher custom-appearance" | 131 <button id="page-switcher-end" class="page-switcher custom-appearance" |
94 tabindex="2" hidden>› | 132 tabindex="2" hidden>› |
95 </button> | 133 </button> |
96 <div id="attribution"> | 134 <div id="attribution"> |
97 <span i18n-content="attributionintro"></span> | 135 <span i18n-content="attributionintro"></span> |
98 <img id="attribution-img"> | 136 <img id="attribution-img"> |
99 </div> | 137 </div> |
100 </div> | 138 </div> |
101 | 139 |
102 <div id="footer"> | 140 <div id="footer"> |
103 <div id="footer-border"></div> | 141 <div id="footer-border"></div> |
104 <div id="footer-content"> | 142 <div id="footer-content"> |
105 <img id="logo-img" src="chrome://theme/IDR_PRODUCT_LOGO"> | 143 <img id="logo-img" src="chrome://theme/IDR_PRODUCT_LOGO"> |
106 | 144 |
107 <ul id="dot-list"> | |
108 </ul> | |
109 | |
110 <div class="menu-container"> | 145 <div class="menu-container"> |
111 <button id="recently-closed-menu-button" | 146 <button id="recently-closed-menu-button" |
112 class="footer-menu-button custom-appearance"> | 147 class="footer-menu-button custom-appearance"> |
113 <span i18n-content="recentlyclosed"></span> | 148 <span i18n-content="recentlyclosed"></span> |
114 <div class="disclosure-triangle"></div> | 149 <div class="disclosure-triangle"></div> |
115 </button> | 150 </button> |
116 | 151 |
117 <button id="other-sessions-menu-button" | 152 <button id="other-sessions-menu-button" |
118 class="footer-menu-button custom-appearance invisible"> | 153 class="footer-menu-button custom-appearance invisible"> |
119 <span i18n-content="otherSessions"></span> | 154 <span i18n-content="otherSessions"></span> |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 </a> | 232 </a> |
198 </p> | 233 </p> |
199 </div> | 234 </div> |
200 | 235 |
201 </div> | 236 </div> |
202 | 237 |
203 <!-- This is used to measure text in the current locale. It is not visible. --> | 238 <!-- This is used to measure text in the current locale. It is not visible. --> |
204 <div id="fontMeasuringDiv"></div> | 239 <div id="fontMeasuringDiv"></div> |
205 | 240 |
206 </html> | 241 </html> |
OLD | NEW |