Chromium Code Reviews| 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 <!-- | |
| 23 <script src="mock/mock.js"></script> | |
| 24 <script src="mock/mockData.js"></script> | |
| 25 --> | |
| 26 <!-- Mock setup end --> | |
| 27 | |
| 28 | |
| 20 <!-- It's important that this be the first script loaded. --> | 29 <!-- It's important that this be the first script loaded. --> |
| 21 <script src="../ntp4/logging.js"></script> | 30 <script src="../ntp4/logging.js"></script> |
| 22 | 31 |
| 23 <link rel="stylesheet" href="../shared/css/bubble.css"> | 32 <link rel="stylesheet" href="../shared/css/bubble.css"> |
| 24 <link rel="stylesheet" href="../shared/css/expandable_bubble.css"> | 33 <link rel="stylesheet" href="../shared/css/expandable_bubble.css"> |
| 25 <link rel="stylesheet" href="../shared/css/menu.css"> | 34 <link rel="stylesheet" href="../shared/css/menu.css"> |
| 26 <link rel="stylesheet" href="../shared/css/menu_button.css"> | 35 <link rel="stylesheet" href="../shared/css/menu_button.css"> |
| 27 <link rel="stylesheet" href="../shared/css/trash.css"> | 36 <link rel="stylesheet" href="../shared/css/trash.css"> |
| 28 <link rel="stylesheet" href="../shared/css/widgets.css"> | 37 <link rel="stylesheet" href="../shared/css/widgets.css"> |
| 29 <link rel="stylesheet" href="../ntp4/apps_page.css"> | 38 <link rel="stylesheet" href="../ntp4/apps_page.css"> |
| 30 <link rel="stylesheet" href="chrome://newtab/suggestions_page.css"> | 39 <link rel="stylesheet" href="../ntp4/suggestions_page.css"> |
| 31 <link rel="stylesheet" href="../ntp4/most_visited_page.css"> | 40 |
| 41 <link rel="stylesheet" href="most_visited_page.css"> | |
| 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 <!-- | |
|
Evan Stade
2012/08/07 21:57:12
if you're just going to comment things out without
pedrosimonetti2
2012/08/08 08:14:22
Done.
| |
| 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 |
|
Evan Stade
2012/08/07 21:57:12
newline why?
pedrosimonetti2
2012/08/08 08:14:22
Done.
| |
| 100 <script src="./new_tab.js"></script> | |
| 101 | |
|
Evan Stade
2012/08/07 21:57:12
newline why?
pedrosimonetti2
2012/08/08 08:14:22
Done.
| |
| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 157 <div id="login-status-advanced-container"> | 192 <div id="login-status-advanced-container"> |
| 158 <a id="login-status-advanced" | 193 <a id="login-status-advanced" |
| 159 i18n-content="login_status_advanced" href="#"></a> | 194 i18n-content="login_status_advanced" href="#"></a> |
| 160 </div> | 195 </div> |
| 161 <button id="login-status-dismiss" i18n-content="login_status_dismiss"> | 196 <button id="login-status-dismiss" i18n-content="login_status_dismiss"> |
| 162 </button> | 197 </button> |
| 163 </div> | 198 </div> |
| 164 </div> | 199 </div> |
| 165 | 200 |
| 166 <!-- Apps promo. --> | 201 <!-- Apps promo. --> |
| 167 <div id="apps-promo-extras-template" class="apps-promo-extras"> | 202 <div id="apps-promo-extras-template" class="apps-promo-extras"> |
|
Evan Stade
2012/08/07 21:57:12
this should not exist.
pedrosimonetti2
2012/08/08 08:14:22
Done.
| |
| 168 <h3 class="apps-promo-heading"></h3> | 203 <h3 class="apps-promo-heading"></h3> |
| 169 <a class="apps-promo-link g-button-basic"></a> | 204 <a class="apps-promo-link g-button-basic"></a> |
| 170 </div> | 205 </div> |
| 171 | 206 |
| 172 <!-- App Contents w/ Large Icon --> | 207 <!-- App Contents w/ Large Icon --> |
| 173 <div id="app-large-icon-template" class="app-contents"> | 208 <div id="app-large-icon-template" class="app-contents"> |
| 174 <div class="app-img-container"> | 209 <div class="app-img-container"> |
| 175 <img class="invisible"> | 210 <img class="invisible"> |
| 176 </div> | 211 </div> |
| 177 <span class="title"></span> | 212 <span class="title"></span> |
| 178 </div> | 213 </div> |
| 179 | 214 |
| 180 <!-- App Contents w/ Small Icon --> | 215 <!-- App Contents w/ Small Icon --> |
| 181 <div id="app-small-icon-template" class="app-contents"> | 216 <div id="app-small-icon-template" class="app-contents"> |
| 182 <div class="app-icon-div"> | 217 <div class="app-icon-div"> |
| 183 <div class="app-img-container"> | 218 <div class="app-img-container"> |
| 184 <img class="invisible"> | 219 <img class="invisible"> |
| 185 </div> | 220 </div> |
| 186 <div class="color-stripe"></div> | |
| 187 </div> | 221 </div> |
| 188 <span class="title"></span> | 222 <span class="title"></span> |
| 189 </div> | 223 </div> |
| 190 | 224 |
| 191 <!-- Message shown in the other sessions menu when the user is signed in but | 225 <!-- Message shown in the other sessions menu when the user is signed in but |
| 192 there is no session data (e.g. they have tab sync turned off). --> | 226 there is no session data (e.g. they have tab sync turned off). --> |
| 193 <div id="other-sessions-promo-template" class="other-sessions-promo-message"> | 227 <div id="other-sessions-promo-template" class="other-sessions-promo-message"> |
| 194 <span i18n-content="otherSessionsEmpty"></span> | 228 <span i18n-content="otherSessionsEmpty"></span> |
| 195 <p> | 229 <p> |
| 196 <a i18n-values="href:otherSessionsLearnMoreUrl" i18n-content="learnMore"> | 230 <a i18n-values="href:otherSessionsLearnMoreUrl" i18n-content="learnMore"> |
| 197 </a> | 231 </a> |
| 198 </p> | 232 </p> |
| 199 </div> | 233 </div> |
| 200 | 234 |
| 201 </div> | 235 </div> |
| 202 | 236 |
| 203 <!-- This is used to measure text in the current locale. It is not visible. --> | 237 <!-- This is used to measure text in the current locale. It is not visible. --> |
| 204 <div id="fontMeasuringDiv"></div> | 238 <div id="fontMeasuringDiv"></div> |
| 205 | 239 |
| 206 </html> | 240 </html> |
| OLD | NEW |