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

Side by Side Diff: chrome/browser/resources/ntp_search/new_tab.js

Issue 11316206: NTP5: Re-implementing favicons for Most Visited Pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « no previous file | chrome/browser/resources/ntp_search/thumbnail_page.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview New tab page 6 * @fileoverview New tab page
7 * This is the main code for the new tab page. NewTabView manages page list, 7 * This is the main code for the new tab page. NewTabView manages page list,
8 * dot list and handles apps pages callbacks from backend. It also handles 8 * dot list and handles apps pages callbacks from backend. It also handles
9 * the layout of the Bottom Panel and the global UI states of the New Tab Page. 9 * the layout of the Bottom Panel and the global UI states of the New Tab Page.
10 */ 10 */
(...skipping 19 matching lines...) Expand all
30 * @type {number} 30 * @type {number}
31 * @const 31 * @const
32 */ 32 */
33 var BOTTOM_PANEL_HORIZONTAL_MARGIN = 100; 33 var BOTTOM_PANEL_HORIZONTAL_MARGIN = 100;
34 34
35 /** 35 /**
36 * The height required to show the Bottom Panel. 36 * The height required to show the Bottom Panel.
37 * @type {number} 37 * @type {number}
38 * @const 38 * @const
39 */ 39 */
40 var HEIGHT_FOR_BOTTOM_PANEL = 550; 40 var HEIGHT_FOR_BOTTOM_PANEL = 558;
41 41
42 /** 42 /**
43 * The Bottom Panel width required to show 6 cols of Tiles, which is used 43 * The Bottom Panel width required to show 6 cols of Tiles, which is used
44 * in the width computation. 44 * in the width computation.
45 * @type {number} 45 * @type {number}
46 * @const 46 * @const
47 */ 47 */
48 var MAX_BOTTOM_PANEL_WIDTH = 920; 48 var MAX_BOTTOM_PANEL_WIDTH = 920;
49 49
50 /** 50 /**
(...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after
1059 setMostVisitedPages: setMostVisitedPages, 1059 setMostVisitedPages: setMostVisitedPages,
1060 setRecentlyClosedTabs: setRecentlyClosedTabs, 1060 setRecentlyClosedTabs: setRecentlyClosedTabs,
1061 showNotification: showNotification, 1061 showNotification: showNotification,
1062 themeChanged: themeChanged, 1062 themeChanged: themeChanged,
1063 }; 1063 };
1064 }); 1064 });
1065 1065
1066 document.addEventListener('DOMContentLoaded', ntp.onLoad); 1066 document.addEventListener('DOMContentLoaded', ntp.onLoad);
1067 1067
1068 var toCssPx = cr.ui.toCssPx; 1068 var toCssPx = cr.ui.toCssPx;
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/ntp_search/thumbnail_page.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698