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

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

Issue 155865: NNTP: Merge the recent activities into one list and show more items... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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
« no previous file with comments | « chrome/browser/resources/new_new_tab.css ('k') | chrome/browser/resources/new_new_tab.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection;firstview:firstview;bookmarkbarattached:boo kmarkbarattached;hasattribution:hasattribution;anim:anim"> 2 <html i18n-values="dir:textdirection;firstview:firstview;bookmarkbarattached:boo kmarkbarattached;hasattribution:hasattribution;anim:anim">
3 3
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title i18n-content="title"></title> 5 <title i18n-content="title"></title>
6 <script> 6 <script>
7 // Logging info for benchmarking purposes. 7 // Logging info for benchmarking purposes.
8 var log = []; 8 var log = [];
9 function logEvent(name) { 9 function logEvent(name) {
10 log.push([name, Date.now()]); 10 log.push([name, Date.now()]);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 i18n-content="showtips" style="display:none"></div> 77 i18n-content="showtips" style="display:none"></div>
78 <div section="TIPS" show="false" 78 <div section="TIPS" show="false"
79 i18n-content="hidetips"></div> 79 i18n-content="hidetips"></div>
80 </div> 80 </div>
81 81
82 <div id="notification"> 82 <div id="notification">
83 <span>&nbsp;</span> 83 <span>&nbsp;</span>
84 <span><span class="link" tabindex="0"></span></span> 84 <span><span class="link" tabindex="0"></span></span>
85 </div> 85 </div>
86 86
87 <div id="most-visited" jsskip="true"> 87 <div id="most-visited">
88 <a class="thumbnail-container filler" tabindex="1" id="t0"> 88 <a class="thumbnail-container filler" tabindex="1" id="t0">
89 <div class="edit-mode-border"> 89 <div class="edit-mode-border">
90 <div class="edit-bar"> 90 <div class="edit-bar">
91 <div class="pin"></div> 91 <div class="pin"></div>
92 <div class="spacer"></div> 92 <div class="spacer"></div>
93 <div class="remove"></div> 93 <div class="remove"></div>
94 </div> 94 </div>
95 <span class="thumbnail-wrapper"> 95 <span class="thumbnail-wrapper">
96 <span class="thumbnail"></span> 96 <span class="thumbnail"></span>
97 </span> 97 </span>
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 </div> 213 </div>
214 </a> 214 </a>
215 215
216 </div> 216 </div>
217 217
218 <div id="lower-sections"> 218 <div id="lower-sections">
219 219
220 <div id="recent-activities" class="section"> 220 <div id="recent-activities" class="section">
221 <h2 i18n-content="recentactivities"></h2> 221 <h2 i18n-content="recentactivities"></h2>
222 222
223 <div class="hbox"> 223 <div class="item-container">
224 224 <div jsselect="$this">
225 <div id="recent-tabs"> 225 <a class="item"
226 <h3 i18n-content="recentlyclosed"></h3> 226 jsdisplay="type == 'tab'"
227 227 jsvalues="href:url;
228 <div class="item-container"> 228 .xtitle:title;
229 <div id="tab-items" jsskip="!processing"> 229 .style.backgroundImage:'url(&quot;chrome://favicon/' +
230 <div jsselect="$this"> 230 url + '&quot;)';
231 <a class="item" 231 dir:direction;
232 jsdisplay="type == 'tab'" 232 .sessionId:sessionId"
233 jsvalues="href:url; 233 jscontent="title"></a>
234 .xtitle:title; 234 <div jsdisplay="type == 'window'"
235 .style.backgroundImage:'url(&quot;chrome://favicon/' + 235 class="item link window"
236 url + '&quot;)'; 236 jsvalues=".sessionId:sessionId;
237 dir:direction; 237 .tabItems:tabs"
238 .sessionId:sessionId" 238 tabindex="0">
239 jscontent="title"></a> 239 <span jscontent="formatTabsText($this.tabs.length)"></span>
240 <div jsdisplay="type == 'window'"
241 class="item link window"
242 jsvalues=".sessionId:sessionId;
243 .tabItems:tabs"
244 tabindex="0">
245 <span jscontent="formatTabsText($this.tabs.length)"></span>
246 </div>
247 </div>
248 </div>
249
250 <div>
251 <a href="chrome://history/" class="item nav"
252 i18n-content="viewfullhistory"></a>
253 </div>
254
255 </div> 240 </div>
241 <a class="item"
242 jsdisplay="type == 'download'"
243 jsvalues="href:file_path;title:url;
244 .style.backgroundImage:
245 'url(chrome://theme/downloads_favicon)';
246 dir:direction;
247 .fileId:id"
248 jscontent="file_name"></a>
256 </div> 249 </div>
257 250 <a href="chrome://history/" class="item nav"
258 <div id="downloads"> 251 i18n-content="viewfullhistory"></a>
259 <h3 i18n-content="downloads"></h3> 252 <a href="chrome://downloads/" class="item nav"
260 <div class="item-container"> 253 i18n-content="viewalldownloads"></a>
261 <div id="download-items" jsskip="!processing">
262 <a class="item" jsselect="$this"
263 jsdisplay="state != 'CANCELLED'"
264 jsvalues="href:file_path;title:url;
265 .style.backgroundImage:'url(&quot;chrome://fileicon/' +
266 file_path + '&quot;)';
267 dir:direction;
268 .fileId:id"
269 jscontent="file_name"></a>
270 </div>
271
272 <div>
273 <a href="chrome://downloads/" class="item nav"
274 i18n-content="viewalldownloads"></a>
275 </div>
276
277 </div>
278 </div>
279
280 </div> 254 </div>
281 255
282 </div><div class="spacer"> 256 </div><div class="spacer">
283 257
284 </div><div id="tips" class="section"> 258 </div><div id="tips" class="section">
285 <h2 i18n-content="tipsandsuggestions"></h2> 259 <h2 i18n-content="tipsandsuggestions"></h2>
286 <div id="tip-items" jsskip="!processing"> 260 <div id="tip-items">
287 <div class="tips-title item" jsselect="$this" 261 <div class="tips-title item" jsselect="$this"
288 jsdisplay="!url" 262 jsdisplay="!url"
289 i18n-content="defaulttipstitle"> 263 i18n-content="defaulttipstitle">
290 </div> 264 </div>
291 <div class="tips-container item-container"> 265 <div class="tips-container item-container">
292 <a class="item" jsselect="$this" 266 <a class="item" jsselect="$this"
293 jsdisplay="url.length" 267 jsdisplay="url.length"
294 jsvalues="href:url;.xtitle:title" 268 jsvalues="href:url;.xtitle:title"
295 jscontent="title"></a> 269 jscontent="title"></a>
296 </div> 270 </div>
297 </div> 271 </div>
298 </div> 272 </div>
299 </div> 273 </div>
300 274
301 </div> <!-- main --> 275 </div> <!-- main -->
302 276
303 <div jsskip="true"> 277 <div>
304 <div class="window-menu" id="window-menu"> 278 <div class="window-menu" id="window-menu">
305 <span class="item" jsselect="$this" 279 <span class="item" jsselect="$this"
306 jsvalues=".style.backgroundImage:'url(&quot;chrome://favicon/' + url + 280 jsvalues=".style.backgroundImage:'url(&quot;chrome://favicon/' + url +
307 '&quot;)'; 281 '&quot;)';
308 .xtitle:title;
309 dir:direction;" 282 dir:direction;"
310 jscontent="title"></span> 283 jscontent="title"></span>
311 </div> 284 </div>
312 </div> 285 </div>
313 286
314 <script src="local_strings.js"></script> 287 <script src="local_strings.js"></script>
315 <script src="new_new_tab.js"></script> 288 <script src="new_new_tab.js"></script>
316 </html> 289 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/new_new_tab.css ('k') | chrome/browser/resources/new_new_tab.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698