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

Issue 2916523002: Generate enum/getters/setters/mappings for text-combine-upright. (Closed)

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

Description

Generate enum/getters/setters/mappings for text-combine-upright. Currently, the text-combine-upright/{webkit,epub}-combine property is a 'storage_only' field, so it has no generated public getters/setters. This patch changes it to a 'keyword' field so that its getters/setters can be generated as well. We also generate the ETextCombine enum and use the generated CSSValueID <-> ETextCombine mappings. Diff: https://gist.github.com/nainar/c2f36a25584d2f298ab9090fe308c6e5/revisions BUG=628043 Review-Url: https://codereview.chromium.org/2916523002 Cr-Commit-Position: refs/heads/master@{#475877} Committed: https://chromium.googlesource.com/chromium/src/+/960ae7f16addc69a2369cda1d8462f0b1850a77e

Patch Set 1 #

Patch Set 2 : tests #

Total comments: 2

Patch Set 3 : shend@ suggestions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -47 lines) Patch
M third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h View 1 1 chunk +0 lines, -29 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.json5 View 1 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSValueIDMappings.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 chunks +1 line, -10 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleConstants.h View 1 1 chunk +0 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 24 (18 generated)
nainar
shend@, PTAL? Thanks!
3 years, 6 months ago (2017-05-31 07:36:49 UTC) #3
shend
lgtm, interesting that there are no other callers of TextCombine. https://codereview.chromium.org/2916523002/diff/20001/third_party/WebKit/Source/core/css/CSSValueIDMappings.h File third_party/WebKit/Source/core/css/CSSValueIDMappings.h (right): https://codereview.chromium.org/2916523002/diff/20001/third_party/WebKit/Source/core/css/CSSValueIDMappings.h#newcode38 ...
3 years, 6 months ago (2017-05-31 07:53:11 UTC) #10
nainar
meade@, PTAL? Thanks! https://codereview.chromium.org/2916523002/diff/20001/third_party/WebKit/Source/core/css/CSSValueIDMappings.h File third_party/WebKit/Source/core/css/CSSValueIDMappings.h (right): https://codereview.chromium.org/2916523002/diff/20001/third_party/WebKit/Source/core/css/CSSValueIDMappings.h#newcode38 third_party/WebKit/Source/core/css/CSSValueIDMappings.h:38: if (v == CSSValueHorizontal) Done.
3 years, 6 months ago (2017-05-31 08:24:40 UTC) #12
rune
lgtm
3 years, 6 months ago (2017-05-31 09:25:03 UTC) #16
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/2916523002/40001
3 years, 6 months ago (2017-05-31 11:26:09 UTC) #21
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 11:30:01 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/960ae7f16addc69a2369cda1d846...

Powered by Google App Engine
This is Rietveld 408576698