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

Issue 2917323003: Move AddProperty to a helper class. (Closed)

Created:
3 years, 6 months ago by Jia
Modified:
3 years, 6 months ago
Reviewers:
meade_UTC10, Bugs Nash
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move AddProperty to a helper class. This cl paves the way for parsing shorthand properties. AddProperty is currently a private function within CSSPropertyParser. We now move it to a helper class so that it can be accessed by property APIs when a property parses its values and adds parsed properties to a set of all parsed properties for further processing. BUG=668012 Review-Url: https://codereview.chromium.org/2917323003 Cr-Commit-Position: refs/heads/master@{#477261} Committed: https://chromium.googlesource.com/chromium/src/+/97d2eb259484cb04b331ac05367ff2bb1c31ed5a

Patch Set 1 #

Total comments: 6

Patch Set 2 : Change parameter name to conform to the style guide. #

Total comments: 8

Patch Set 3 : Changed the wrapper function name to AddParsedProperty. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+329 lines, -287 lines) Patch
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 42 chunks +289 lines, -282 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp View 1 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (13 generated)
Jia
3 years, 6 months ago (2017-06-05 05:27:31 UTC) #2
Bugs Nash
https://codereview.chromium.org/2917323003/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/2917323003/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode71 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:71: void CSSPropertyParser::AddParsedProperties(CSSPropertyID property, is there a reason to keep ...
3 years, 6 months ago (2017-06-05 05:45:58 UTC) #5
Jia
Thanks! PTAL. https://codereview.chromium.org/2917323003/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/2917323003/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode71 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:71: void CSSPropertyParser::AddParsedProperties(CSSPropertyID property, On 2017/06/05 05:45:58, Bugs ...
3 years, 6 months ago (2017-06-05 06:15:09 UTC) #6
Bugs Nash
On 2017/06/05 at 06:15:09, jiameng wrote: > Thanks! PTAL. > > https://codereview.chromium.org/2917323003/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp > File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp ...
3 years, 6 months ago (2017-06-06 04:27:44 UTC) #11
Jia
On 2017/06/06 04:27:44, Bugs Nash wrote: > On 2017/06/05 at 06:15:09, jiameng wrote: > > ...
3 years, 6 months ago (2017-06-06 04:34:26 UTC) #12
Jia
meade@chromium.org: Please review changes in
3 years, 6 months ago (2017-06-06 04:34:45 UTC) #14
Bugs Nash
https://codereview.chromium.org/2917323003/diff/20001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/2917323003/diff/20001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode71 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:71: void CSSPropertyParser::AddParsedProperties(CSSPropertyID property, nit: this name isn't accurate. this ...
3 years, 6 months ago (2017-06-06 04:37:05 UTC) #15
Jia
Thanks Bugs, PTAL. https://codereview.chromium.org/2917323003/diff/20001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/2917323003/diff/20001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode71 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:71: void CSSPropertyParser::AddParsedProperties(CSSPropertyID property, On 2017/06/06 04:37:05, ...
3 years, 6 months ago (2017-06-06 05:00:47 UTC) #16
Bugs Nash
https://codereview.chromium.org/2917323003/diff/20001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp (right): https://codereview.chromium.org/2917323003/diff/20001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp#newcode1462 third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp:1462: void AddProperty(CSSPropertyID resolved_property, On 2017/06/06 at 05:00:47, Jia wrote: ...
3 years, 6 months ago (2017-06-06 05:14:12 UTC) #17
Jia
On 2017/06/06 05:14:12, Bugs Nash wrote: > https://codereview.chromium.org/2917323003/diff/20001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp > File third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp > (right): > > ...
3 years, 6 months ago (2017-06-06 05:33:37 UTC) #18
Bugs Nash
On 2017/06/06 at 05:33:37, jiameng wrote: > On 2017/06/06 05:14:12, Bugs Nash wrote: > > ...
3 years, 6 months ago (2017-06-06 05:38:25 UTC) #19
meade_UTC10
lgtm
3 years, 6 months ago (2017-06-06 07:07:48 UTC) #20
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/2917323003/40001
3 years, 6 months ago (2017-06-06 09:58:32 UTC) #23
commit-bot: I haz the power
3 years, 6 months ago (2017-06-06 12:01:18 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/97d2eb259484cb04b331ac05367f...

Powered by Google App Engine
This is Rietveld 408576698