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

Issue 2879813002: Make ComputedStyleBase a templated class to allow it to use functions on ComputedStyle (Closed)

Created:
3 years, 7 months ago by nainar
Modified:
3 years, 7 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/heads/master
Project:
chromium
Visibility:
Public.

Description

Make ComputedStyleBase a templated class to allow it to use functions on ComputedStyle Make ComputedStyleBase a templated class to allow it to use functions on ComputedStyle. This allows us to diff functions on ComputedStyle that ComputedStyleBase would otherwise not know about. Diff: https://gist.github.com/nainar/cced45292622ae9fb1d8c1185be9399e/revisions Review-Url: https://codereview.chromium.org/2879813002 Cr-Commit-Position: refs/heads/master@{#471667} Committed: https://chromium.googlesource.com/chromium/src/+/8ace54b1623362bd0720adf22811f237d93344a0

Patch Set 1 #

Total comments: 6

Patch Set 2 : alancutter@'s suggestions #

Total comments: 4

Patch Set 3 : alancutter@'s suggestions #

Patch Set 4 : Formatting merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -9 lines) Patch
M third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl View 1 2 3 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 32 (20 generated)
nainar
shend@, PTAL? Thanks!
3 years, 7 months ago (2017-05-12 05:45:06 UTC) #5
shend
\o/ lgtm
3 years, 7 months ago (2017-05-12 06:26:01 UTC) #6
nainar
@alancutter, PTAL? Thanks!
3 years, 7 months ago (2017-05-12 06:27:52 UTC) #8
alancutter (OOO until 2018)
https://codereview.chromium.org/2879813002/diff/1/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl File third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl (left): https://codereview.chromium.org/2879813002/diff/1/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl#oldcode190 third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl:190: Put this in ComputedStyle.h https://codereview.chromium.org/2879813002/diff/1/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/2879813002/diff/1/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl#newcode39 ...
3 years, 7 months ago (2017-05-12 06:45:43 UTC) #9
nainar
Made the changes, PTAL? https://codereview.chromium.org/2879813002/diff/1/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl File third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl (left): https://codereview.chromium.org/2879813002/diff/1/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl#oldcode190 third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl:190: Done. Removed the CL description ...
3 years, 7 months ago (2017-05-12 06:59:19 UTC) #13
alancutter (OOO until 2018)
lgtm with nits. https://codereview.chromium.org/2879813002/diff/20001/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/2879813002/diff/20001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl#newcode50 third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl:50: // ComputedStyleBase is a templated class ...
3 years, 7 months ago (2017-05-12 07:06:22 UTC) #14
nainar
https://codereview.chromium.org/2879813002/diff/20001/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/2879813002/diff/20001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl#newcode50 third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl:50: // ComputedStyleBase is a templated class to allow it ...
3 years, 7 months ago (2017-05-12 07:31:33 UTC) #17
nainar
alancutter@ had the idea that instead of making a template file. We could generate the ...
3 years, 7 months ago (2017-05-12 08:02:59 UTC) #18
shend
On 2017/05/12 at 08:02:59, nainar wrote: > alancutter@ had the idea that instead of making ...
3 years, 7 months ago (2017-05-15 00:03:00 UTC) #21
nainar
On 2017/05/15 at 00:03:00, shend wrote: > On 2017/05/12 at 08:02:59, nainar wrote: > > ...
3 years, 7 months ago (2017-05-15 03:29:36 UTC) #24
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/2879813002/60001
3 years, 7 months ago (2017-05-15 04:32:13 UTC) #29
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 04:36:43 UTC) #32
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/8ace54b1623362bd0720adf22811...

Powered by Google App Engine
This is Rietveld 408576698