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

Issue 2041363002: Move isColorKeyword out of CSSPropertyParser (Closed)

Created:
4 years, 6 months ago by rwlbuis
Modified:
4 years, 6 months ago
Reviewers:
Timothy Loh
CC:
chromium-reviews, shans, rjwright, blink-reviews-animation_chromium.org, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move isColorKeyword out of CSSPropertyParser Move isColorKeyword out of CSSPropertyParser so that we do not need to include CSSPropertyParser.h in CSSPropertyParserHelpers. Committed: https://crrev.com/2240d4ba98b66142a38137ef431b325d2d4fd377 Cr-Commit-Position: refs/heads/master@{#398965}

Patch Set 1 #

Patch Set 2 : V2 #

Total comments: 4

Patch Set 3 : Address review comments #

Patch Set 4 : Alternative using StyleColor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -38 lines) Patch
M third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp View 1 2 3 3 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/css/StyleColor.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/StyleColor.cpp View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp View 1 2 3 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/MediaQueryParser.cpp View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 18 (8 generated)
rwlbuis
PTAL. BTW I am open to name suggestions to avoid possible conflicts, maybe isColorCSSKeyword or ...
4 years, 6 months ago (2016-06-07 18:38:48 UTC) #3
Timothy Loh
I'm not sure this is really the right place for the function but I don't ...
4 years, 6 months ago (2016-06-08 03:20:16 UTC) #4
Timothy Loh
https://codereview.chromium.org/2041363002/diff/20001/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp File third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp (right): https://codereview.chromium.org/2041363002/diff/20001/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp#newcode9 third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp:9: #include "core/css/parser/CSSPropertyParser.h" no longer needed https://codereview.chromium.org/2041363002/diff/20001/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp#newcode64 third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp:64: ASSERT(CSSPropertyParser::isColorKeyword(keyword)); needs ...
4 years, 6 months ago (2016-06-08 03:21:11 UTC) #5
rwlbuis
Sorry about that, but it occurred to me that StyleColor may be a better place. ...
4 years, 6 months ago (2016-06-08 23:08:39 UTC) #6
Timothy Loh
On 2016/06/08 23:08:39, rwlbuis wrote: > Sorry about that, but it occurred to me that ...
4 years, 6 months ago (2016-06-09 04:54:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041363002/60001
4 years, 6 months ago (2016-06-09 09:34:03 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/236263)
4 years, 6 months ago (2016-06-09 14:44:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041363002/60001
4 years, 6 months ago (2016-06-09 16:56:39 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-09 18:46:44 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 18:48:17 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2240d4ba98b66142a38137ef431b325d2d4fd377
Cr-Commit-Position: refs/heads/master@{#398965}

Powered by Google App Engine
This is Rietveld 408576698