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

Side by Side Diff: chrome/browser/resources/new_new_tab.html

Issue 3340005: Make NTP look good with themes. (Closed)
Patch Set: Created 10 years, 3 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
OLDNEW
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 has_3d:has_3d"> 8 has_3d:has_3d">
9 <head> 9 <head>
10 <meta charset="utf-8"> 10 <meta charset="utf-8">
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 <menu id="option-menu"> 122 <menu id="option-menu">
123 <div command="clear-all-blacklisted" 123 <div command="clear-all-blacklisted"
124 i18n-content="restorethumbnails"></div> 124 i18n-content="restorethumbnails"></div>
125 </menu> 125 </menu>
126 126
127 <div id="notification"> 127 <div id="notification">
128 <span>&nbsp;</span> 128 <span>&nbsp;</span>
129 <span class="link"><span class="link-color"></span></span> 129 <span class="link"><span class="link-color"></span></span>
130 </div> 130 </div>
131 131
132 <div id="top-spacer"></div>
133
132 <div class="sections"> 134 <div class="sections">
133 <!-- Start disabled. We only enable if we have at least one app. --> 135 <!-- Start disabled. We only enable if we have at least one app. -->
134 <div class="section disabled" section="APPS" id="apps-section"> 136 <div class="section disabled" section="APPS" id="apps-section">
135 <h2><img class="disclosure" img src="ntp/ntp_disclosure_triangle.png" 137 <h2>
136 ><span i18n-content="apps"></span><div class="back"></div></h2> 138 <img class="disclosure" img src="ntp/ntp_disclosure_triangle.png">
139 <div class="mask">
140 <div class="back"></div>
141 <span i18n-content="apps"></span>
142 </div>
143 </h2>
137 <div class="maxiview" id="apps-section-content"></div> 144 <div class="maxiview" id="apps-section-content"></div>
138 <div class="miniview"></div> 145 <div class="miniview"></div>
139 </div> 146 </div>
140 147
141 <div id="most-visited-section" class="section" section="THUMB"> 148 <div id="most-visited-section" class="section" section="THUMB">
142 <h2><img class="disclosure" src="ntp/ntp_disclosure_triangle.png" 149 <h2>
143 ><span i18n-content="mostvisited"></span 150 <img class="disclosure" src="ntp/ntp_disclosure_triangle.png">
144 ><div class="settings"></div><div class="back"></div></h2> 151 <div class="mask">
152 <div class="back"></div>
153 <span i18n-content="mostvisited"></span>
154 <div class="settings-wrapper"><div class="settings"></div></div>
155 </div>
156 </h2>
145 <div class="maxiview" id="most-visited"></div> 157 <div class="maxiview" id="most-visited"></div>
146 <div class="miniview"></div> 158 <div class="miniview"></div>
147 </div> 159 </div>
148 160
149 <!-- Start this section disabled because it might not have data, and looks 161 <!-- Start this section disabled because it might not have data, and looks
150 silly without any. --> 162 silly without any. -->
151 <div id="recently-closed" class="section hidden disabled" section="RECENT" 163 <div id="recently-closed" class="section hidden disabled" section="RECENT"
152 noexpand="true"> 164 noexpand="true">
153 <h2><span i18n-content="recentlyclosed"></span 165 <h2>
154 ><div class="back"></div></h2> 166 <div class="mask">
167 <div class="back"></div>
168 <span i18n-content="recentlyclosed"></span>
169 </div>
170 </h2>
155 <div class="miniview"></div> 171 <div class="miniview"></div>
156 </div> 172 </div>
157 173
158 <!-- TODO(aa): Remove this -- we don't use it anymore. --> 174 <!-- TODO(aa): Remove this -- we don't use it anymore. -->
159 <div id="debug" class="section disabled" section="DEBUG"> 175 <div id="debug" class="section disabled" section="DEBUG">
160 <h2><span>Debug</span></h2> 176 <h2><span>Debug</span></h2>
161 <div id="apps-launch-control"> 177 <div id="apps-launch-control">
162 Open apps in:<label 178 Open apps in:<label
163 ><input type="radio" name="launch-container-type" value="" 179 ><input type="radio" name="launch-container-type" value=""
164 checked="true">Default</label 180 checked="true">Default</label
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 218
203 <script> 219 <script>
204 updateSimpleSection('apps-section', Section.APPS); 220 updateSimpleSection('apps-section', Section.APPS);
205 updateSimpleSection('most-visited-section', Section.THUMB); 221 updateSimpleSection('most-visited-section', Section.THUMB);
206 updateSimpleSection('recently-closed', Section.RECENT); 222 updateSimpleSection('recently-closed', Section.RECENT);
207 updateSimpleSection('debug', Section.DEBUG); 223 updateSimpleSection('debug', Section.DEBUG);
208 224
209 layoutSections(); 225 layoutSections();
210 </script> 226 </script>
211 </html> 227 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698