#include "third_party/blink/renderer/platform/geometry/calculation_value.h"
#include "third_party/blink/renderer/platform/geometry/blend.h"
#include "third_party/blink/renderer/platform/geometry/calculation_expression_node.h"
#include "third_party/blink/renderer/platform/wtf/size_assertions.h"
namespace blink {
CalculationValue::DataUnion::DataUnion(
scoped_refptr<const CalculationExpressionNode> expression)
: … { … }
CalculationValue::DataUnion::~DataUnion() { … }
scoped_refptr<const CalculationValue> CalculationValue::CreateSimplified(
scoped_refptr<const CalculationExpressionNode> expression,
Length::ValueRange range) { … }
CalculationValue::CalculationValue(
scoped_refptr<const CalculationExpressionNode> expression,
Length::ValueRange range)
: … { … }
CalculationValue::~CalculationValue() { … }
float CalculationValue::Evaluate(float max_value,
const Length::EvaluationInput& input) const { … }
bool CalculationValue::operator==(const CalculationValue& other) const { … }
scoped_refptr<const CalculationExpressionNode>
CalculationValue::GetOrCreateExpression() const { … }
scoped_refptr<const CalculationValue> CalculationValue::Blend(
const CalculationValue& from,
double progress,
Length::ValueRange range) const { … }
scoped_refptr<const CalculationValue>
CalculationValue::SubtractFromOneHundredPercent() const { … }
scoped_refptr<const CalculationValue> CalculationValue::Add(
const CalculationValue& other) const { … }
scoped_refptr<const CalculationValue> CalculationValue::Zoom(
double factor) const { … }
bool CalculationValue::HasAuto() const { … }
bool CalculationValue::HasContentOrIntrinsicSize() const { … }
bool CalculationValue::HasAutoOrContentOrIntrinsicSize() const { … }
bool CalculationValue::HasPercent() const { … }
bool CalculationValue::HasPercentOrStretch() const { … }
bool CalculationValue::HasStretch() const { … }
bool CalculationValue::HasMinContent() const { … }
bool CalculationValue::HasMaxContent() const { … }
bool CalculationValue::HasFitContent() const { … }
}