Index: chrome/browser/resources/ntp_search/tile_page.js |
diff --git a/chrome/browser/resources/ntp_search/tile_page.js b/chrome/browser/resources/ntp_search/tile_page.js |
index a5fc6dafdc3377b98a08f441f9af3e8ac742b5e7..cb90f993c77ed95e16765ab9ac1c6a02cc1321c4 100644 |
--- a/chrome/browser/resources/ntp_search/tile_page.js |
+++ b/chrome/browser/resources/ntp_search/tile_page.js |
@@ -305,25 +305,6 @@ cr.define('ntp', function() { |
}, |
/** |
- * The notification content of this tile (if any, otherwise null). |
- * @type {!HTMLElement} |
- */ |
- get notification() { |
- return this.content_.firstChild.id == 'notification-container' ? |
- this.content_.firstChild : null; |
- }, |
- /** |
- * The notification content of this tile (if any, otherwise null). |
- * @type {!HTMLElement} |
- */ |
- set notification(node) { |
- assert(node instanceof HTMLElement, '|node| isn\'t an HTMLElement!'); |
- // NOTE: Implicitly removes from DOM if |node| is inside it. |
- this.content_.insertBefore(node, this.content_.firstChild); |
- this.positionNotification_(); |
- }, |
- |
- /** |
* Removes the tilePage from the DOM and cleans up event handlers. |
*/ |
remove: function() { |
@@ -422,13 +403,6 @@ cr.define('ntp', function() { |
}, |
/** |
- * Position the notification if there's one showing. |
- * TODO(pedrosimonetti): Fix the position of the notification. |
- */ |
- positionNotification_: function() { |
- }, |
- |
- /** |
* Scrolls the page in response to an mousewheel event, although the event |
* may have been triggered on a different element. Return true if the |
* event triggered scrolling, and false otherwise. |