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

Issue 6264012: [NTP] Tweak app drag and drop. (Closed)

Created:
9 years, 11 months ago by jstritar
Modified:
9 years, 6 months ago
Reviewers:
Aaron Boodman
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

[NTP] Tweak app drag and drop. 1. Map the free space on the last row of the app launcher to the last valid app position. 2. Transition the app opacity smoothly. 3. Fix JS errors when starting drag from certain areas. 4. Make sure drag and drop works when the window / apps section is scrolled. BUG=70795 TEST=none. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72394

Patch Set 1 #

Patch Set 2 : fix js error and scrolling #

Total comments: 2

Patch Set 3 : update if statement #

Patch Set 4 : fix another scrolling issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -12 lines) Patch
M chrome/browser/resources/ntp/apps.css View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/ntp/apps.js View 1 2 3 2 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/resources/ntp/drag_drop_controller.js View 1 2 3 4 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
jstritar
A couple small tweaks to app drag and drop.
9 years, 11 months ago (2011-01-24 16:57:57 UTC) #1
Aaron Boodman
9 years, 11 months ago (2011-01-24 19:22:42 UTC) #2
lgtm w/ nits

http://codereview.chromium.org/6264012/diff/3001/chrome/browser/resources/ntp...
File chrome/browser/resources/ntp/apps.js (right):

http://codereview.chromium.org/6264012/diff/3001/chrome/browser/resources/ntp...
chrome/browser/resources/ntp/apps.js:370: if (!item ||
item.classList.contains('web-store-entry'))
Can the second half of this check happen now? If not, remove it.

http://codereview.chromium.org/6264012/diff/3001/chrome/browser/resources/ntp...
chrome/browser/resources/ntp/apps.js:433: if (index >= appCount && index < cols
* rows)
Cool. This was a good benefit of moving getIndexAt_ into this class.

Powered by Google App Engine
This is Rietveld 408576698