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

Issue 1116933007: Devtools: Refactor color picker to use WI.installDragHandle() (Closed)

Created:
5 years, 7 months ago by samli
Modified:
5 years, 7 months ago
Reviewers:
lushnikov
CC:
aandrey+blink_chromium.org, apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, loislo+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, sergeyv+blink_chromium.org, yurys+blink_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Devtools: Refactor color picker to use WI.installDragHandle() This change removes the color pickers drag handling code and reuses the WI.installDragHandle() method. It also removes the shift drag behavior on the color drag. BUG=477974 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195575

Patch Set 1 #

Patch Set 2 : Remove empty line #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -132 lines) Patch
M Source/devtools/front_end/elements/Spectrum.js View 1 2 5 chunks +50 lines, -132 lines 0 comments Download

Messages

Total messages: 17 (2 generated)
samli
5 years, 7 months ago (2015-05-05 06:45:03 UTC) #2
lushnikov
Why do we remove shift-drag behavior? I've heard people found it useful.
5 years, 7 months ago (2015-05-07 15:50:33 UTC) #3
lushnikov
https://codereview.chromium.org/1116933007/diff/20001/Source/devtools/front_end/elements/Spectrum.js File Source/devtools/front_end/elements/Spectrum.js (right): https://codereview.chromium.org/1116933007/diff/20001/Source/devtools/front_end/elements/Spectrum.js#newcode92 Source/devtools/front_end/elements/Spectrum.js:92: WebInspector.installDragHandle(this._draggerElement, colorDragStart.bind(this), colorDrag.bind(this), null, "default"); can we rename draggerElement ...
5 years, 7 months ago (2015-05-07 16:02:26 UTC) #4
samli
https://codereview.chromium.org/1116933007/diff/20001/Source/devtools/front_end/elements/Spectrum.js File Source/devtools/front_end/elements/Spectrum.js (right): https://codereview.chromium.org/1116933007/diff/20001/Source/devtools/front_end/elements/Spectrum.js#newcode92 Source/devtools/front_end/elements/Spectrum.js:92: WebInspector.installDragHandle(this._draggerElement, colorDragStart.bind(this), colorDrag.bind(this), null, "default"); On 2015/05/07 16:02:26, lushnikov ...
5 years, 7 months ago (2015-05-08 01:43:40 UTC) #5
lushnikov
>> Why do we remove shift-drag behavior? I've heard people found it useful. What about ...
5 years, 7 months ago (2015-05-08 10:11:10 UTC) #6
samli
On 2015/05/08 at 10:11:10, lushnikov wrote: > >> Why do we remove shift-drag behavior? I've ...
5 years, 7 months ago (2015-05-08 10:24:09 UTC) #7
lushnikov
On 2015/05/08 10:24:09, samli wrote: > On 2015/05/08 at 10:11:10, lushnikov wrote: > > >> ...
5 years, 7 months ago (2015-05-12 09:09:47 UTC) #8
pfeldman
I like the shift-drag, furthermore, it might actually be handy in other places that support ...
5 years, 7 months ago (2015-05-12 09:29:23 UTC) #9
samli
On 2015/05/12 at 09:29:23, pfeldman wrote: > I like the shift-drag, furthermore, it might actually ...
5 years, 7 months ago (2015-05-15 03:55:17 UTC) #10
pfeldman
On 2015/05/15 03:55:17, samli wrote: > On 2015/05/12 at 09:29:23, pfeldman wrote: > > I ...
5 years, 7 months ago (2015-05-15 05:25:26 UTC) #11
samli
On 2015/05/15 at 05:25:26, pfeldman wrote: > On 2015/05/15 03:55:17, samli wrote: > > On ...
5 years, 7 months ago (2015-05-18 01:43:00 UTC) #12
samli
ping, not sure whether I can land this or not.
5 years, 7 months ago (2015-05-20 01:27:08 UTC) #13
pfeldman
Feel free to land, we'll re-create it. It does not work as is anyways.
5 years, 7 months ago (2015-05-20 01:31:27 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1116933007/40001
5 years, 7 months ago (2015-05-20 01:37:01 UTC) #16
commit-bot: I haz the power
5 years, 7 months ago (2015-05-20 03:04:31 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195575

Powered by Google App Engine
This is Rietveld 408576698