Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Side by Side Diff: chrome/browser/resources/ntp4/new_tab.html

Issue 10141005: switch ntp to jstemplate v2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test once and for all Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 customlogo:customlogo;
6 themegravity:themegravity; 5 themegravity:themegravity;
7 bookmarkbarattached:bookmarkbarattached;" 6 bookmarkbarattached:bookmarkbarattached;"
8 class="starting-up"> 7 class="starting-up">
9 <head> 8 <head>
10 <meta charset="utf-8"> 9 <meta charset="utf-8">
11 <title i18n-content="title"></title> 10 <title i18n-content="title"></title>
12 <!-- Don't scale the viewport in either portrait or landscape mode. 11 <!-- Don't scale the viewport in either portrait or landscape mode.
13 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).
14 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
15 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
(...skipping 13 matching lines...) Expand all
29 <link rel="stylesheet" href="apps_page.css"> 28 <link rel="stylesheet" href="apps_page.css">
30 <link rel="stylesheet" href="chrome://newtab/suggestions_page.css"> 29 <link rel="stylesheet" href="chrome://newtab/suggestions_page.css">
31 <link rel="stylesheet" href="most_visited_page.css"> 30 <link rel="stylesheet" href="most_visited_page.css">
32 <link rel="stylesheet" href="nav_dot.css"> 31 <link rel="stylesheet" href="nav_dot.css">
33 <link rel="stylesheet" href="new_tab.css"> 32 <link rel="stylesheet" href="new_tab.css">
34 <link rel="stylesheet" href="footer_menu.css"> 33 <link rel="stylesheet" href="footer_menu.css">
35 <link rel="stylesheet" href="tile_page.css"> 34 <link rel="stylesheet" href="tile_page.css">
36 <link id="themecss" rel="stylesheet"> 35 <link id="themecss" rel="stylesheet">
37 36
38 <script src="../shared/js/event_tracker.js"></script> 37 <script src="../shared/js/event_tracker.js"></script>
39 <script src="../shared/js/local_strings.js"></script> 38 <script src="../shared/js/load_time_data.js"></script>
40 <script src="../shared/js/parse_html_subset.js"></script> 39 <script src="../shared/js/parse_html_subset.js"></script>
41 <script src="../shared/js/util.js"></script> 40 <script src="../shared/js/util.js"></script>
42 41
43 <script src="../shared/js/cr.js"></script> 42 <script src="../shared/js/cr.js"></script>
44 <script src="../shared/js/cr/ui.js"></script> 43 <script src="../shared/js/cr/ui.js"></script>
45 <script src="../shared/js/cr/ui/bubble.js"></script> 44 <script src="../shared/js/cr/ui/bubble.js"></script>
46 <script src="../shared/js/cr/ui/card_slider.js"></script> 45 <script src="../shared/js/cr/ui/card_slider.js"></script>
47 <script src="../shared/js/cr/ui/context_menu_handler.js"></script> 46 <script src="../shared/js/cr/ui/context_menu_handler.js"></script>
48 <script src="../shared/js/cr/ui/drag_wrapper.js"></script> 47 <script src="../shared/js/cr/ui/drag_wrapper.js"></script>
49 <script src="../shared/js/cr/ui/expandable_bubble.js"></script> 48 <script src="../shared/js/cr/ui/expandable_bubble.js"></script>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 </button> 93 </button>
95 <div id="attribution"> 94 <div id="attribution">
96 <span i18n-content="attributionintro"></span> 95 <span i18n-content="attributionintro"></span>
97 <img id="attribution-img"> 96 <img id="attribution-img">
98 </div> 97 </div>
99 </div> 98 </div>
100 99
101 <div id="footer"> 100 <div id="footer">
102 <div id="footer-border"></div> 101 <div id="footer-border"></div>
103 <div id="footer-content"> 102 <div id="footer-content">
104 <img id="logo-img"> 103 <img id="logo-img" src="chrome://theme/IDR_PRODUCT_LOGO">
105 104
106 <ul id="dot-list"> 105 <ul id="dot-list">
107 </ul> 106 </ul>
108 107
109 <div class="menu-container"> 108 <div class="menu-container">
110 <button id="other-sessions-menu-button" 109 <button id="other-sessions-menu-button"
111 class="footer-menu-button custom-appearance invisible"> 110 class="footer-menu-button custom-appearance invisible">
112 <span i18n-content="otherSessions"></span> 111 <span i18n-content="otherSessions"></span>
113 <div class="disclosure-triangle"></div> 112 <div class="disclosure-triangle"></div>
114 </button> 113 </button>
(...skipping 19 matching lines...) Expand all
134 </div> 133 </div>
135 </div> 134 </div>
136 </div> 135 </div>
137 </body> 136 </body>
138 137
139 <!-- A div to hold all the templates, and in the darkness bind them. --> 138 <!-- A div to hold all the templates, and in the darkness bind them. -->
140 <div hidden> 139 <div hidden>
141 140
142 <!-- NTP4 intro bubble --> 141 <!-- NTP4 intro bubble -->
143 <div id="ntp4-intro-bubble-contents"> 142 <div id="ntp4-intro-bubble-contents">
144 <div i18n-content="ntp4_intro_message"></div> 143 <div></div>
145 <a i18n-content="learn_more" target="_blank"></a> 144 <a i18n-content="learn_more" target="_blank"></a>
146 </div> 145 </div>
147 146
148 <!-- Login status bubble --> 147 <!-- Login status bubble -->
149 <div id="login-status-bubble-contents"> 148 <div id="login-status-bubble-contents">
150 <div id="login-status-message-container"> 149 <div id="login-status-message-container">
151 <span i18n-content="login_status_message"></span> 150 <span i18n-content="login_status_message"></span>
152 <a id="login-status-learn-more" i18n-content="login_status_learn_more" 151 <a id="login-status-learn-more" i18n-content="learn_more"
153 target="_blank"></a> 152 i18n-values="href:login_status_url" target="_blank"></a>
154 </div> 153 </div>
155 <div class="login-status-row"> 154 <div class="login-status-row">
156 <div id="login-status-advanced-container"> 155 <div id="login-status-advanced-container">
157 <a id="login-status-advanced" 156 <a id="login-status-advanced"
158 i18n-content="login_status_advanced" href="#"></a> 157 i18n-content="login_status_advanced" href="#"></a>
159 </div> 158 </div>
160 <button id="login-status-dismiss" i18n-content="login_status_dismiss"> 159 <button id="login-status-dismiss" i18n-content="login_status_dismiss">
161 </button> 160 </button>
162 </div> 161 </div>
163 </div> 162 </div>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 </a> 205 </a>
207 </p> 206 </p>
208 </div> 207 </div>
209 208
210 </div> 209 </div>
211 210
212 <!-- This is used to measure text in the current locale. It is not visible. --> 211 <!-- This is used to measure text in the current locale. It is not visible. -->
213 <div id="fontMeasuringDiv"></div> 212 <div id="fontMeasuringDiv"></div>
214 213
215 </html> 214 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/ntp4/most_visited_page.js ('k') | chrome/browser/resources/ntp4/new_tab.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698