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

Issue 2563913002: Added functionality in ComputedStyleBase to use platform/ types (Closed)

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

Description

Added functionality in ComputedStyleBase to use platform/ types Added functionality in ComputedStyleBase to use platform/ types that conform to naming guidelines. Also converted the direction property to be used by this new generator, which uses the external enum type platform/text/TextDirection. BUG=628043 Committed: https://crrev.com/072f5a503cddfe46f59dfdc03cee69a328ca9e57 Cr-Commit-Position: refs/heads/master@{#441091}

Patch Set 1 #

Patch Set 2 : Added explanation of why a header file includes another header file #

Patch Set 3 : Upload missing file #

Patch Set 4 : Moved all mapping functions and types into ComputedStyleBase #

Patch Set 5 : Added missing file #

Total comments: 1

Patch Set 6 : New approach with no mapping functions #

Patch Set 7 : Rebase #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -17 lines) Patch
M third_party/WebKit/Source/build/scripts/css_properties.py View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/make_computed_style_base.py View 1 2 3 4 5 5 chunks +12 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.in View 1 2 3 4 5 6 7 2 chunks +12 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 3 4 5 6 7 4 chunks +0 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 43 (26 generated)
sashab
Ignoring perf for the moment, would be great if you could take a look at ...
4 years ago (2016-12-09 03:49:02 UTC) #4
napper
Generally LGTM. My only comment is that it seems weird to have a static only ...
4 years ago (2016-12-09 04:22:38 UTC) #9
sashab
Thanks for the feedback Jon. I did a small test locally and moving these methods ...
4 years ago (2016-12-11 23:22:08 UTC) #10
sashab
4 years ago (2016-12-16 04:32:49 UTC) #13
alancutter (OOO until 2018)
ComputedStyleTypeMappingsImpl seems to be missing from this CL.
4 years ago (2016-12-19 00:56:04 UTC) #14
sashab
Sorry about that, ptal now
4 years ago (2016-12-19 03:30:30 UTC) #15
alancutter (OOO until 2018)
https://codereview.chromium.org/2563913002/diff/80001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl File third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl (right): https://codereview.chromium.org/2563913002/diff/80001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl#newcode127 third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl:127: enum class {{enum_name}} : unsigned { Why is a ...
4 years ago (2016-12-19 04:09:30 UTC) #20
sashab
On 2016/12/19 at 04:09:30, alancutter wrote: > https://codereview.chromium.org/2563913002/diff/80001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl > File third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl (right): > > https://codereview.chromium.org/2563913002/diff/80001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl#newcode127 ...
4 years ago (2016-12-19 23:29:05 UTC) #21
sashab
As discussed, used TextDirection directly from platform/. Will add another patch to use mapping functions ...
4 years ago (2016-12-21 04:42:52 UTC) #23
alancutter (OOO until 2018)
lgtm
3 years, 12 months ago (2016-12-22 04:29:15 UTC) #25
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/2563913002/100001
3 years, 12 months ago (2016-12-22 04:33:26 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/339164)
3 years, 12 months ago (2016-12-22 04:39:08 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/2563913002/120001
3 years, 12 months ago (2016-12-22 05:02:26 UTC) #33
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/style/ComputedStyle.h: While running git apply --index -p1; error: patch failed: ...
3 years, 12 months ago (2016-12-22 06:54:39 UTC) #35
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/2563913002/140001
3 years, 11 months ago (2017-01-03 02:54:03 UTC) #38
commit-bot: I haz the power
Committed patchset #8 (id:140001)
3 years, 11 months ago (2017-01-03 05:34:26 UTC) #41
commit-bot: I haz the power
3 years, 11 months ago (2017-01-03 05:36:30 UTC) #43
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/072f5a503cddfe46f59dfdc03cee69a328ca9e57
Cr-Commit-Position: refs/heads/master@{#441091}

Powered by Google App Engine
This is Rietveld 408576698