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

Issue 2613723003: Implements CSSPropertyAPI for the font-variation-settings property. (Closed)

Created:
3 years, 11 months ago by aazzam
Modified:
3 years, 11 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implements CSSPropertyAPI for the font-variation-settings property. A part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch removes CSSPropertyFontVariationSettings from the switch statement in parseSingleValue, and calls the API instead. A function pointer to the parseSingleValue function from the API for the page property is stored in a CSSPropertyDescriptor, and is called from CSSPropertyParser. This patch: - Adds CSSPropertyAPIFontVariationSettings.cpp to the BUILD.gn file. - Adds api_class flag to CSSProperties.in, which indicates that CSSPropertyAPIFontVariationSettings.h is generated. - Moves the parsing logic for page from CSSPropertyParser.cpp to CSSPropertyAPIFontVariationSettings.cpp, which implements CSSPropertyAPI.h. BUG=668012 Review-Url: https://codereview.chromium.org/2613723003 Cr-Commit-Position: refs/heads/master@{#442838} Committed: https://chromium.googlesource.com/chromium/src/+/5df504c980216b3f756114bd83b77cfdd0be3104

Patch Set 1 #

Patch Set 2 : fixed dependencies, changed year #

Patch Set 3 : dependencies #

Total comments: 1

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -43 lines) Patch
M third_party/WebKit/Source/core/css/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.in View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 3 2 chunks +0 lines, -42 lines 0 comments Download
A third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontVariationSettings.cpp View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 30 (24 generated)
aazzam
3 years, 11 months ago (2017-01-05 04:11:22 UTC) #2
alancutter (OOO until 2018)
lgtm
3 years, 11 months ago (2017-01-05 04:16:17 UTC) #3
aazzam
3 years, 11 months ago (2017-01-08 02:46:44 UTC) #7
sashab
lgtm https://codereview.chromium.org/2613723003/diff/40001/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontVariationSettings.cpp File third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontVariationSettings.cpp (right): https://codereview.chromium.org/2613723003/diff/40001/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontVariationSettings.cpp#newcode15 third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontVariationSettings.cpp:15: static CSSFontVariationValue* consumeFontVariationTag( Change static to anonymous namespace ...
3 years, 11 months ago (2017-01-09 05:15:21 UTC) #8
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/2613723003/80001
3 years, 11 months ago (2017-01-11 05:44:31 UTC) #27
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 10:10:27 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/5df504c980216b3f756114bd83b7...

Powered by Google App Engine
This is Rietveld 408576698