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

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

Issue 7610014: [ntp4] Bookmarks page implementation, first-pass. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Final review tweaks, rebase. Created 9 years, 4 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
===================================================================
--- chrome/browser/resources/ntp4/tile_page.js (revision 96850)
+++ chrome/browser/resources/ntp4/tile_page.js (working copy)
@@ -500,6 +500,13 @@
},
/**
+ * Removes all tiles from the page.
+ */
+ removeAllTiles: function() {
+ this.tileGrid_.innerHTML = '';
+ },
+
+ /**
* Makes some calculations for tile layout. These change depending on
* height, width, and the number of tiles.
* TODO(estade): optimize calls to this function. Do nothing if the page is

Powered by Google App Engine
This is Rietveld 408576698