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

Issue 2157533003: DevTools: Source color picker experiment. Make color swatches clickable (Closed)

Created:
4 years, 5 months ago by flandy
Modified:
4 years, 5 months ago
Reviewers:
lushnikov
CC:
chromium-reviews, caseq+blink_chromium.org, blink-reviews-style_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Source color picker experiment. Make color swatches clickable Improve the source color picker experiment by making the color swatches clickable. On click, the swatches launch a spectrum to easily edit the stylesheet colors. BUG=266326 R=lushnikov Committed: https://crrev.com/1db875f82040068b874530dc594d74b17a434728 Cr-Commit-Position: refs/heads/master@{#406622}

Patch Set 1 #

Total comments: 8

Patch Set 2 : StylesPopoverHelper --> SwatchPopoverHelper in separate patches #

Total comments: 25

Patch Set 3 : Addressed comments #

Total comments: 6

Patch Set 4 : Addressed further comments #

Total comments: 2

Patch Set 5 : Consume event #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -2 lines) Patch
M third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js View 1 2 3 4 4 chunks +68 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
flandy
Please take a look
4 years, 5 months ago (2016-07-15 21:05:14 UTC) #2
lushnikov
first batch of comments https://codereview.chromium.org/2157533003/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesPopoverHelper.js File third_party/WebKit/Source/devtools/front_end/elements/StylesPopoverHelper.js (left): https://codereview.chromium.org/2157533003/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesPopoverHelper.js#oldcode9 third_party/WebKit/Source/devtools/front_end/elements/StylesPopoverHelper.js:9: WebInspector.StylesPopoverHelper = function() Let's extract ...
4 years, 5 months ago (2016-07-16 00:30:26 UTC) #3
flandy
Please take another look https://codereview.chromium.org/2157533003/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesPopoverHelper.js File third_party/WebKit/Source/devtools/front_end/elements/StylesPopoverHelper.js (left): https://codereview.chromium.org/2157533003/diff/1/third_party/WebKit/Source/devtools/front_end/elements/StylesPopoverHelper.js#oldcode9 third_party/WebKit/Source/devtools/front_end/elements/StylesPopoverHelper.js:9: WebInspector.StylesPopoverHelper = function() On 2016/07/16 ...
4 years, 5 months ago (2016-07-19 17:52:19 UTC) #6
lushnikov
https://codereview.chromium.org/2157533003/diff/20001/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js (right): https://codereview.chromium.org/2157533003/diff/20001/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js#newcode43 third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js:43: this._analyzeTextColors = true; We usually call this kind of ...
4 years, 5 months ago (2016-07-19 21:12:16 UTC) #7
flandy
Please take another look. Thanks! https://codereview.chromium.org/2157533003/diff/20001/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js (right): https://codereview.chromium.org/2157533003/diff/20001/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js#newcode43 third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js:43: this._analyzeTextColors = true; On ...
4 years, 5 months ago (2016-07-19 22:58:15 UTC) #8
lushnikov
https://codereview.chromium.org/2157533003/diff/20001/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js (right): https://codereview.chromium.org/2157533003/diff/20001/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js#newcode215 third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js:215: delete this._spectrum; On 2016/07/19 22:58:15, flandy wrote: > On ...
4 years, 5 months ago (2016-07-20 00:49:24 UTC) #9
flandy
Ptal https://codereview.chromium.org/2157533003/diff/20001/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js (right): https://codereview.chromium.org/2157533003/diff/20001/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js#newcode215 third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js:215: delete this._spectrum; On 2016/07/20 00:49:23, lushnikov wrote: > ...
4 years, 5 months ago (2016-07-20 01:56:18 UTC) #10
lushnikov
lgtm! https://codereview.chromium.org/2157533003/diff/60001/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js (right): https://codereview.chromium.org/2157533003/diff/60001/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js#newcode180 third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js:180: _showSpectrum: function(swatch, colorPosition) don't you want to consume ...
4 years, 5 months ago (2016-07-20 02:45:45 UTC) #11
flandy
https://codereview.chromium.org/2157533003/diff/60001/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js (right): https://codereview.chromium.org/2157533003/diff/60001/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js#newcode180 third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js:180: _showSpectrum: function(swatch, colorPosition) On 2016/07/20 02:45:45, lushnikov wrote: > ...
4 years, 5 months ago (2016-07-20 16:59:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2157533003/80001
4 years, 5 months ago (2016-07-20 17:00:17 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-20 18:20:06 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-20 18:20:27 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 18:23:01 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1db875f82040068b874530dc594d74b17a434728
Cr-Commit-Position: refs/heads/master@{#406622}

Powered by Google App Engine
This is Rietveld 408576698