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

Issue 2298903002: DevTools: Modify BezierSwatch to follow same style as ColorSwatch (Closed)

Created:
4 years, 3 months ago by flandy
Modified:
4 years, 3 months ago
Reviewers:
dgozman, 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, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Modify BezierSwatch to follow same style as ColorSwatch Creating a custom element for BezierSwatch (swatch icon with associated text) will allow us to put bezier swatches in Sources in the same manner as color swatches. BUG=642782 Committed: https://crrev.com/8967579cf5145f067cba799efc43e72dc0c14d31 Cr-Commit-Position: refs/heads/master@{#416770}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Remove model and rename to hideText #

Total comments: 2

Patch Set 3 : Rename text getter and setter #

Patch Set 4 : Fix merge conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -37 lines) Patch
M third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js View 1 2 4 chunks +12 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js View 1 2 2 chunks +56 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/bezierSwatch.css View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/colorSwatch.css View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (6 generated)
flandy
Please take a look.
4 years, 3 months ago (2016-08-31 19:46:26 UTC) #2
lushnikov
https://codereview.chromium.org/2298903002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js File third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js (right): https://codereview.chromium.org/2298903002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js#newcode190 third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js:190: cubicBezier: function() let's not parse the model in the ...
4 years, 3 months ago (2016-08-31 20:11:04 UTC) #3
flandy
https://codereview.chromium.org/2298903002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js File third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js (right): https://codereview.chromium.org/2298903002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js#newcode190 third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js:190: cubicBezier: function() On 2016/08/31 20:11:04, lushnikov wrote: > let's ...
4 years, 3 months ago (2016-08-31 22:12:08 UTC) #4
lushnikov
https://codereview.chromium.org/2298903002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js File third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js (right): https://codereview.chromium.org/2298903002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js#newcode190 third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js:190: cubicBezier: function() As far as it works with hidden ...
4 years, 3 months ago (2016-09-01 22:06:52 UTC) #5
flandy
https://codereview.chromium.org/2298903002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js File third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js (right): https://codereview.chromium.org/2298903002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js#newcode190 third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js:190: cubicBezier: function() On 2016/09/01 22:06:52, lushnikov wrote: > As ...
4 years, 3 months ago (2016-09-01 23:12:44 UTC) #6
lushnikov
https://codereview.chromium.org/2298903002/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js File third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js (right): https://codereview.chromium.org/2298903002/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js#newcode59 third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js:59: this._swatch.setText(/** @type {string} */ (event.data)); can we use .textContent ...
4 years, 3 months ago (2016-09-02 21:42:03 UTC) #7
flandy
https://codereview.chromium.org/2298903002/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js File third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js (right): https://codereview.chromium.org/2298903002/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js#newcode59 third_party/WebKit/Source/devtools/front_end/elements/ColorSwatchPopoverIcon.js:59: this._swatch.setText(/** @type {string} */ (event.data)); On 2016/09/02 21:42:03, lushnikov ...
4 years, 3 months ago (2016-09-02 22:08:05 UTC) #8
lushnikov
lgtm
4 years, 3 months ago (2016-09-06 16:51:05 UTC) #9
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/2298903002/40001
4 years, 3 months ago (2016-09-06 17:21:58 UTC) #11
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/devtools/front_end/ui/bezierSwatch.css: While running git apply --index -3 -p1; error: patch ...
4 years, 3 months ago (2016-09-06 21:10:22 UTC) #13
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/2298903002/60001
4 years, 3 months ago (2016-09-06 21:47:40 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-06 23:28:04 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-06 23:30:50 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8967579cf5145f067cba799efc43e72dc0c14d31
Cr-Commit-Position: refs/heads/master@{#416770}

Powered by Google App Engine
This is Rietveld 408576698