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

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

Issue 7951011: Moving where I'm doing dropEffect normalization. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: code review changes from conversation with estade over chat Created 9 years, 3 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/trash.js
diff --git a/chrome/browser/resources/ntp4/trash.js b/chrome/browser/resources/ntp4/trash.js
index 3fad9df468a78512a472f09ca0fd0f9c31ea7735..cd36f225d13771e1203cd16da2e67aeba150f0e9 100644
--- a/chrome/browser/resources/ntp4/trash.js
+++ b/chrome/browser/resources/ntp4/trash.js
@@ -43,8 +43,8 @@ cr.define('ntp4', function() {
doDragOver: function(e) {
ntp4.getCurrentlyDraggingTile().dragClone.classList.add(
'hovering-on-trash');
+ ntp4.setCurrentDropEffect(e.dataTransfer, 'move');
e.preventDefault();
- e.dataTransfer.dropEffect = 'move';
},
/**
« chrome/browser/resources/ntp4/tile_page.js ('K') | « chrome/browser/resources/ntp4/tile_page.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698