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

Issue 2614833003: Implements CSSPropertyAPI for the rotate 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 rotate property. A part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch removes CSSPropertyRotate 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 CSSPropertyAPIRotate.cpp to the BUILD.gn file. - Adds api_class flag to CSSProperties.in, which indicates that CSSPropertyAPIRotate.h is generated. - Moves the parsing logic for page from CSSPropertyParser.cpp to CSSPropertyAPIRotate.cpp, which implements CSSPropertyAPI.h. BUG=668012 Review-Url: https://codereview.chromium.org/2614833003 Cr-Commit-Position: refs/heads/master@{#443418} Committed: https://chromium.googlesource.com/chromium/src/+/54cb2328f73f4c3ade73842a1ada9de6638b7113

Patch Set 1 #

Patch Set 2 : fixed dependencies, changed year #

Patch Set 3 : dependencies #

Total comments: 1

Patch Set 4 : rebase #

Patch Set 5 : fixed bug with include #

Patch Set 6 : re-added translate #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -25 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 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 3 4 2 chunks +0 lines, -24 lines 0 comments Download
A third_party/WebKit/Source/core/css/properties/CSSPropertyAPIRotate.cpp View 1 2 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 51 (40 generated)
aazzam
3 years, 11 months ago (2017-01-05 04:02:14 UTC) #2
alancutter (OOO until 2018)
lgtm
3 years, 11 months ago (2017-01-05 04:22:01 UTC) #3
aazzam
sashab rs lgtm please :)
3 years, 11 months ago (2017-01-06 03:19:51 UTC) #6
sashab
https://codereview.chromium.org/2614833003/diff/40001/third_party/WebKit/Source/core/css/CSSProperties.in File third_party/WebKit/Source/core/css/CSSProperties.in (right): https://codereview.chromium.org/2614833003/diff/40001/third_party/WebKit/Source/core/css/CSSProperties.in#newcode393 third_party/WebKit/Source/core/css/CSSProperties.in:393: translate runtime_flag=CSSIndependentTransformProperties, converter=convertTranslate, interpolable hmm something not right here... ...
3 years, 11 months ago (2017-01-06 05:19:25 UTC) #7
sashab
LGTM after rebase fix
3 years, 11 months ago (2017-01-06 05:19:36 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/2614833003/60001
3 years, 11 months ago (2017-01-11 20:08:16 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/98464)
3 years, 11 months ago (2017-01-11 20:34:47 UTC) #30
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/2614833003/100001
3 years, 11 months ago (2017-01-12 11:05:50 UTC) #43
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/css/CSSProperties.in: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-12 11:09:14 UTC) #45
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/2614833003/120001
3 years, 11 months ago (2017-01-12 22:17:29 UTC) #48
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 00:47:11 UTC) #51
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/54cb2328f73f4c3ade73842a1ada...

Powered by Google App Engine
This is Rietveld 408576698