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

Unified Diff: third_party/WebKit/Source/core/animation/ColorPropertyFunctions.h

Issue 2537373005: [css-ui] Make caret-color animatable (Closed)
Patch Set: Apply suggested changes Created 4 years 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: third_party/WebKit/Source/core/animation/ColorPropertyFunctions.h
diff --git a/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.h b/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.h
index 7fe546a21b1a9adaae86d11859b8eaaca87693cb..38abf5df4eb08951b9c6fc4d9d7b8ba1daef95eb 100644
--- a/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.h
+++ b/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.h
@@ -14,9 +14,11 @@ class ComputedStyle;
class ColorPropertyFunctions {
public:
- static StyleColor getInitialColor(CSSPropertyID);
- static StyleColor getUnvisitedColor(CSSPropertyID, const ComputedStyle&);
- static StyleColor getVisitedColor(CSSPropertyID, const ComputedStyle&);
+ static bool getInitialColor(CSSPropertyID, StyleColor& initialColor);
+ static bool getUnvisitedColor(CSSPropertyID,
+ const ComputedStyle&,
+ StyleColor&);
+ static bool getVisitedColor(CSSPropertyID, const ComputedStyle&, StyleColor&);
static void setUnvisitedColor(CSSPropertyID, ComputedStyle&, const Color&);
static void setVisitedColor(CSSPropertyID, ComputedStyle&, const Color&);
};

Powered by Google App Engine
This is Rietveld 408576698