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 |