Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / core / animation / PaintPropertyFunctions.h
blobc82de8b1030bc9513664f2f26b5997c228a27282
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef PaintPropertyFunctions_h
6 #define PaintPropertyFunctions_h
8 #include "core/CSSPropertyNames.h"
10 namespace blink {
12 class ComputedStyle;
13 class StyleColor;
14 class Color;
16 class PaintPropertyFunctions {
17 public:
18 static bool getInitialColor(CSSPropertyID, StyleColor& result);
19 static bool getColor(CSSPropertyID, const ComputedStyle&, StyleColor& result);
20 static void setColor(CSSPropertyID, ComputedStyle&, const Color&);
23 } // namespace blink
25 #endif // PaintPropertyFunctions_h