Index: chrome/browser/resources/ntp4/new_tab.js |
diff --git a/chrome/browser/resources/ntp4/new_tab.js b/chrome/browser/resources/ntp4/new_tab.js |
index a25dc363a1a4d7cd16bd2a3e94c1c2f9f6811b35..5c0ba441268fc69a1386d31e218ecd9e7bbf0f42 100644 |
--- a/chrome/browser/resources/ntp4/new_tab.js |
+++ b/chrome/browser/resources/ntp4/new_tab.js |
@@ -459,7 +459,8 @@ cr.define('ntp4', function() { |
appendAppsPage(tempPage, ''); |
updateSliderCards(); |
- $('footer').classList.add('dragging-mode'); |
+ if (ntp4.getCurrentlyDraggingTile().firstChild.canBeRemoved()) |
+ $('footer').classList.add('showing-trash-mode'); |
} |
/** |
@@ -478,7 +479,7 @@ cr.define('ntp4', function() { |
saveAppPageName(tempPage, ''); |
} |
- $('footer').classList.remove('dragging-mode'); |
+ $('footer').classList.remove('showing-trash-mode'); |
} |
/** |