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

Unified Diff: chrome/browser/resources/ntp4/tile_page.js

Issue 10332049: remove ntp app install hint (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync it Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/ntp4/tile_page.js
diff --git a/chrome/browser/resources/ntp4/tile_page.js b/chrome/browser/resources/ntp4/tile_page.js
index 99bc348fa01e79ee6234774af781d2132a3bc539..b2bc18784729d5ae13d9f913b286cba0a1014200 100644
--- a/chrome/browser/resources/ntp4/tile_page.js
+++ b/chrome/browser/resources/ntp4/tile_page.js
@@ -984,8 +984,6 @@ cr.define('ntp', function() {
// be 1/3 down the page.
var numTiles = this.tileCount +
(this.isCurrentDragTarget && !this.withinPageDrag_ ? 1 : 0);
- // Minimum of 1 row (this can come into play when there is an app install
- // hint hiding the webstore tile, and there are no other tiles).
var numRows = Math.max(1, Math.ceil(numTiles / layout.numRowTiles));
var usedHeight = layout.rowHeight * numRows;
var newMargin = document.documentElement.clientHeight / 3 -
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab_theme.css ('k') | chrome/browser/ui/webui/ntp/app_launcher_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698