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

Issue 2794853002: Separate CSSValueID mappings generator from ComputedStyleBase generator. (Closed)

Created:
3 years, 8 months ago by shend
Modified:
3 years, 8 months ago
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Separate CSSValueID mappings generator from ComputedStyleBase generator. We currently generate mappings between CSSValueID and platform enums inside the ComputedStyleBase generator. However, because such mappings do not exist for nonproperty fields, it no longer makes sense for us to generate these mappings inside make_computed_style_base.py. This patch moves the generator for CSSValueIDMappingsGenerated to its own file, so that it is not affected by nonproperty fields. BUG=628043 Review-Url: https://codereview.chromium.org/2794853002 Cr-Original-Commit-Position: refs/heads/master@{#463955} Committed: https://chromium.googlesource.com/chromium/src/+/dea75f9603af994dd10370ddd25a0dc6af7b93cd Review-Url: https://codereview.chromium.org/2794853002 Cr-Commit-Position: refs/heads/master@{#464303} Committed: https://chromium.googlesource.com/chromium/src/+/f6d6371a3b819d5ad6a31f25cca18e952e28d621

Patch Set 1 #

Patch Set 2 : Forgot file #

Total comments: 5

Patch Set 3 : Address comments #

Patch Set 4 : Fix build.gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -18 lines) Patch
M third_party/WebKit/Source/build/scripts/make_computed_style_base.py View 1 2 3 2 chunks +0 lines, -17 lines 0 comments Download
A third_party/WebKit/Source/build/scripts/make_css_value_id_mappings.py View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 45 (28 generated)
shend
Hi Bugs, PTAL :)
3 years, 8 months ago (2017-04-03 23:20:24 UTC) #6
Bugs Nash
https://codereview.chromium.org/2794853002/diff/20001/third_party/WebKit/Source/build/scripts/make_computed_style_base.py File third_party/WebKit/Source/build/scripts/make_computed_style_base.py (right): https://codereview.chromium.org/2794853002/diff/20001/third_party/WebKit/Source/build/scripts/make_computed_style_base.py#newcode14 third_party/WebKit/Source/build/scripts/make_computed_style_base.py:14: enum_for_css_keyword, enum_type_name, enum_value_name, class_member_name, method_name, enum_for_css_keyword is no longer ...
3 years, 8 months ago (2017-04-03 23:58:55 UTC) #7
shend
Addressed comments, PTAL. https://codereview.chromium.org/2794853002/diff/20001/third_party/WebKit/Source/build/scripts/make_css_value_id_mappings.py File third_party/WebKit/Source/build/scripts/make_css_value_id_mappings.py (right): https://codereview.chromium.org/2794853002/diff/20001/third_party/WebKit/Source/build/scripts/make_css_value_id_mappings.py#newcode26 third_party/WebKit/Source/build/scripts/make_css_value_id_mappings.py:26: self._include_paths.append(property_['field_type_path'] + '.h') On 2017/04/03 at ...
3 years, 8 months ago (2017-04-04 03:16:32 UTC) #8
Bugs Nash
On 2017/04/04 at 03:16:32, shend wrote: > Addressed comments, PTAL. > > https://codereview.chromium.org/2794853002/diff/20001/third_party/WebKit/Source/build/scripts/make_css_value_id_mappings.py > File ...
3 years, 8 months ago (2017-04-04 03:35:36 UTC) #9
shend
On 2017/04/04 at 03:35:36, bugsnash wrote: > On 2017/04/04 at 03:16:32, shend wrote: > > ...
3 years, 8 months ago (2017-04-04 03:38:08 UTC) #10
Bugs Nash
On 2017/04/04 at 03:38:08, shend wrote: > On 2017/04/04 at 03:35:36, bugsnash wrote: > > ...
3 years, 8 months ago (2017-04-04 03:50:57 UTC) #11
shend
On 2017/04/04 at 03:50:57, bugsnash wrote: > On 2017/04/04 at 03:38:08, shend wrote: > > ...
3 years, 8 months ago (2017-04-04 03:58:26 UTC) #12
shend
Hi Eddy, PTAL
3 years, 8 months ago (2017-04-04 04:20:57 UTC) #14
meade_UTC10
lgtm
3 years, 8 months ago (2017-04-06 03:07:40 UTC) #15
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/2794853002/40001
3 years, 8 months ago (2017-04-12 04:10:39 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/dea75f9603af994dd10370ddd25a0dc6af7b93cd
3 years, 8 months ago (2017-04-12 08:04:25 UTC) #28
jdoerrie
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2812823004/ by jdoerrie@chromium.org. ...
3 years, 8 months ago (2017-04-12 08:39:39 UTC) #29
findit-for-me
Findit(https://goo.gl/kROfz5) confirmed this CL at revision 463955 as the culprit for failures in the build ...
3 years, 8 months ago (2017-04-12 08:48:48 UTC) #30
shend
Hi Alan, I'm relanding this patch, can you PTAL? The only difference is that I've ...
3 years, 8 months ago (2017-04-12 22:33:02 UTC) #34
alancutter (OOO until 2018)
lgtm
3 years, 8 months ago (2017-04-13 03:32:30 UTC) #39
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/2794853002/60001
3 years, 8 months ago (2017-04-13 04:44:26 UTC) #42
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 05:00:53 UTC) #45
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/f6d6371a3b819d5ad6a31f25cca1...

Powered by Google App Engine
This is Rietveld 408576698