|
Wrap CSS length conversion arguments in an object
This patch introduces a class CSSToLengthConversionData to wrap the data
required to convert CSS lengths to Lengths. This simplifies the plumbing
that goes on whenever we need to resolve CSS lengths and makes it easier
to update the arguments needed for resolving these (in particular adding
a RenderView for resolving viewport units at style recalc time; removing
the computingFontSize bool also appears possible).
Note that the zoom argument, which was previously a float in some places
and a double in others is now a float.
BUG= 322365
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162881
Total comments: 14
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+353 lines, -232 lines) |
Patch |
|
M |
Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/animation/AnimatableLength.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/animation/AnimatableLength.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/animation/AnimatableLengthTest.cpp
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+19 lines, -14 lines |
0 comments
|
Download
|
|
M |
Source/core/core.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/BasicShapeFunctions.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/css/CSSCalculationValue.h
|
View
|
|
3 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSCalculationValue.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSCalculationValueTest.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/css/CSSGradientValue.h
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSGradientValue.cpp
|
View
|
|
15 chunks |
+32 lines, -39 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSMatrix.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/css/CSSPrimitiveValue.h
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSPrimitiveValue.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+28 lines, -27 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSPrimitiveValueMappings.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
A |
Source/core/css/CSSToLengthConversionData.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/core/css/CSSToLengthConversionData.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSToStyleMap.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSToStyleMap.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
8 chunks |
+17 lines, -27 lines |
0 comments
|
Download
|
|
M |
Source/core/css/MediaQueryEvaluator.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/FilterOperationResolver.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/FilterOperationResolver.cpp
|
View
|
|
6 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/FontBuilder.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/StyleBuilderCustom.h
|
View
|
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/StyleBuilderCustom.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
23 chunks |
+34 lines, -35 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/StyleResolverState.h
|
View
|
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/StyleResolverState.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/TransformBuilder.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/TransformBuilder.cpp
|
View
|
|
5 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/ViewportStyleResolver.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|