| Index: Source/core/css/CSSLengthData.h
|
| diff --git a/Source/core/css/CSSLengthData.h b/Source/core/css/CSSLengthData.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c497e595f8df0380165a8773bf075bca937e257c
|
| --- /dev/null
|
| +++ b/Source/core/css/CSSLengthData.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CSSLengthData_h
|
| +#define CSSLengthData_h
|
| +
|
| +namespace WebCore {
|
| +class CSSLengthData {
|
| +public:
|
| + virtual ~CSSLengthData() { }
|
| + virtual float zoom() const = 0;
|
| + virtual bool computingFontSize() const = 0;
|
| + virtual double fontSpecifiedSize() const = 0;
|
| + virtual double fontComputedSize() const = 0;
|
| + virtual double rootFontSpecifiedSize() const = 0;
|
| + virtual double rootFontComputedSize() const = 0;
|
| + virtual bool hasXHeight() const = 0;
|
| + virtual double xHeight() const = 0;
|
| + virtual double zeroWidth() const = 0;
|
| + virtual bool hasRoot() const = 0;
|
| +
|
| + virtual double viewportWidthPercent() const = 0;
|
| + virtual double viewportHeightPercent() const = 0;
|
| + virtual double viewportMinPercent() const = 0;
|
| + virtual double viewportMaxPercent() const = 0;
|
| +};
|
| +
|
| +} // namespace
|
| +
|
| +#endif // CSSLengthData_h
|
| +
|
|
|