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

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

Issue 7067043: ntp4: break navigation dots into own class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/most_visited_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/apps_page.js
diff --git a/chrome/browser/resources/ntp4/apps_page.js b/chrome/browser/resources/ntp4/apps_page.js
index c4b0713102d963ecd89d03933be12b4a401d582d..d885e791f57287fbaad705c23d23fa8319a2cee5 100644
--- a/chrome/browser/resources/ntp4/apps_page.js
+++ b/chrome/browser/resources/ntp4/apps_page.js
@@ -168,8 +168,9 @@ cr.define('ntp4', function() {
},
/** @inheritDoc */
- shouldAcceptDrag: function(tile, dataTransfer) {
- return tile || (dataTransfer && dataTransfer.types.indexOf('url') != -1);
+ shouldAcceptDrag: function(dataTransfer) {
+ return ntp4.getCurrentlyDraggingTile() ||
+ (dataTransfer && dataTransfer.types.indexOf('url') != -1);
},
/** @inheritDoc */
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/most_visited_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698