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

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: Add composition tests Created 5 years, 3 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..b5e5dc0fb7f879b0da1fa40aa3b00e54caa1170d 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 isZoomedLength(CSSPropertyID);
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
« no previous file with comments | « Source/core/animation/LengthInterpolationType.cpp ('k') | Source/core/animation/LengthPropertyFunctions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698