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

Unified Diff: Source/core/animation/LengthPropertyFunctions.h

Issue 1243313002: Migrate the remaining CSS properties interpolable as Lengths to LengthInterpolationType (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/animation/LengthPropertyFunctions.h
diff --git a/Source/core/animation/LengthPropertyFunctions.h b/Source/core/animation/LengthPropertyFunctions.h
index d4e9c5e1a7124232cf795a6da9c515799e06f313..7963c8c9ddbd9464cabfaa1619b2e6562f332a03 100644
--- a/Source/core/animation/LengthPropertyFunctions.h
+++ b/Source/core/animation/LengthPropertyFunctions.h
@@ -17,12 +17,12 @@ class ComputedStyle;
class LengthPropertyFunctions {
STATIC_ONLY(LengthPropertyFunctions);
public:
- typedef void (ComputedStyle::*LengthSetter)(const Length&);
-
static ValueRange valueRange(CSSPropertyID);
+ static bool hasZoomedLength(CSSPropertyID);
dstockwell 2015/08/31 05:33:40 has -> is? I imagine there's only one length per p
alancutter (OOO until 2018) 2015/08/31 07:15:30 Done.
static bool getPixelsForKeyword(CSSPropertyID, CSSValueID, double& resultPixels);
- static bool getLength(CSSPropertyID, const ComputedStyle&, Length& result);
static bool getInitialLength(CSSPropertyID, Length& result);
+ static bool getLength(CSSPropertyID, const ComputedStyle&, Length& result);
+ static bool setLength(CSSPropertyID, ComputedStyle&, const Length&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698