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 debad1b7c21427c404bd6c7aae8ea243ad0d1b42..6a26bab3516f8f431b376dffb1d7344899758d53 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() { |
@@ -421,13 +402,6 @@ cr.define('ntp', function() { |
handleCardDeselection_: function(e) { |
}, |
- /** |
- * Position the notification if there's one showing. |
- * TODO(pedrosimonetti): Fix the position of the notification. |
- */ |
- positionNotification_: function() { |
- }, |
- |
// ######################################################################### |
// Extended Chrome Instant |
// ######################################################################### |