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"
16 class PaintPropertyFunctions
{
18 static bool getInitialColor(CSSPropertyID
, StyleColor
& result
);
19 static bool getColor(CSSPropertyID
, const ComputedStyle
&, StyleColor
& result
);
20 static void setColor(CSSPropertyID
, ComputedStyle
&, const Color
&);
25 #endif // PaintPropertyFunctions_h