Index: chrome/browser/resources/ntp4/nav_dot.js |
diff --git a/chrome/browser/resources/ntp4/nav_dot.js b/chrome/browser/resources/ntp4/nav_dot.js |
index b3bd1e8c8e25dcc8d4630952226b9fe74933a638..81ed3fe8cb3bfcc598f33cf6ddc29c5b5083754c 100644 |
--- a/chrome/browser/resources/ntp4/nav_dot.js |
+++ b/chrome/browser/resources/ntp4/nav_dot.js |
@@ -72,6 +72,14 @@ cr.define('ntp4', function() { |
}, |
/** |
+ * Gets the associated TilePage. |
+ * @return {TilePage} |
+ */ |
+ get page() { |
+ return this.page_; |
+ }, |
+ |
+ /** |
* Removes the dot from the page after transitioning to 0 width. |
*/ |
animateRemove: function() { |
@@ -184,10 +192,8 @@ cr.define('ntp4', function() { |
if (!this.dragWrapper_.isCurrentDragTarget) |
e.dataTransfer.dropEffect = 'none'; |
- else if (ntp4.getCurrentlyDraggingTile()) |
- e.dataTransfer.dropEffect = 'move'; |
else |
- e.dataTransfer.dropEffect = 'copy'; |
+ this.page_.setDropEffect(e.dataTransfer); |
}, |
/** |