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

Issue 6297013: [NTP] Allow reordering of apps via drag and drop. (Closed)

Created:
9 years, 11 months ago by jstritar
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Erik does not do reviews, pam+watch_chromium.org, Aaron Boodman, arv (Not doing code reviews)
Visibility:
Public.

Description

[NTP] Allow reordering of apps via drag and drop. BUG=53977 TEST=None. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72311

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 60

Patch Set 3 : incorporate feedback #

Total comments: 2

Patch Set 4 : nits #

Patch Set 5 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+483 lines, -17 lines) Patch
M chrome/browser/dom_ui/app_launcher_handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/app_launcher_handler.cc View 1 2 4 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/resources/new_new_tab.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/new_new_tab.js View 1 2 5 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/resources/ntp/apps.css View 1 2 6 chunks +20 lines, -9 lines 0 comments Download
M chrome/browser/resources/ntp/apps.js View 1 2 3 4 6 chunks +251 lines, -6 lines 0 comments Download
A chrome/browser/resources/ntp/drag_drop_controller.js View 1 2 1 chunk +164 lines, -0 lines 0 comments Download
M chrome/common/notification_type.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jstritar
Here's an initial take at app drag and drop. I still have some cleanup to ...
9 years, 11 months ago (2011-01-22 00:24:12 UTC) #1
arv (Not doing code reviews)
On 2011/01/22 00:24:12, jstritar1 wrote: > Here's an initial take at app drag and drop. ...
9 years, 11 months ago (2011-01-22 00:38:21 UTC) #2
Aaron Boodman
On 2011/01/22 00:24:12, jstritar1 wrote: > 4. When the apps promo is active, there's ~20px ...
9 years, 11 months ago (2011-01-22 00:48:35 UTC) #3
arv (Not doing code reviews)
http://codereview.chromium.org/6297013/diff/2001/chrome/browser/resources/new_new_tab.html File chrome/browser/resources/new_new_tab.html (right): http://codereview.chromium.org/6297013/diff/2001/chrome/browser/resources/new_new_tab.html#newcode289 chrome/browser/resources/new_new_tab.html:289: <script src="ntp/draganddrop.js"></script> use underscore as word separator in file ...
9 years, 11 months ago (2011-01-22 00:52:14 UTC) #4
Aaron Boodman
Good work. Lots of comments here, but mostly minor. I tried it out, and it ...
9 years, 11 months ago (2011-01-22 23:42:57 UTC) #5
jstritar_google
Thanks for the feedback. I'm driving into NYC and will finish things up this afternoon. ...
9 years, 11 months ago (2011-01-23 16:41:37 UTC) #6
jstritar_google
On Fri, Jan 21, 2011 at 7:48 PM, <aa@chromium.org> wrote: > On 2011/01/22 00:24:12, jstritar1 ...
9 years, 11 months ago (2011-01-24 00:03:54 UTC) #7
jstritar
I updated this based on your feedback. I also fixed that glitch that occurs when ...
9 years, 11 months ago (2011-01-24 01:00:42 UTC) #8
jstritar
On 2011/01/22 00:38:21, arv wrote: > On 2011/01/22 00:24:12, jstritar1 wrote: > > 1. A ...
9 years, 11 months ago (2011-01-24 01:06:45 UTC) #9
Aaron Boodman
9 years, 11 months ago (2011-01-24 01:29:33 UTC) #10
Very cool. LGTM w/ nits.

http://codereview.chromium.org/6297013/diff/16001/chrome/browser/resources/nt...
File chrome/browser/resources/ntp/apps.js (right):

http://codereview.chromium.org/6297013/diff/16001/chrome/browser/resources/nt...
chrome/browser/resources/ntp/apps.js:283: function cssPxToNum(px) {
You can just use parseInt() instead of defining this function.

http://codereview.chromium.org/6297013/diff/16001/chrome/browser/resources/nt...
chrome/browser/resources/ntp/apps.js:337: if (!this.dimensions_) {
Invert check and return early.

Powered by Google App Engine
This is Rietveld 408576698