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

Unified Diff: third_party/WebKit/Source/core/css/StyleColor.h

Issue 2520873002: [css-ui] Add support for caret-color property (Closed)
Patch Set: Add new baselines for Mac and Windows Created 4 years, 1 month 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/css/StyleColor.h
diff --git a/third_party/WebKit/Source/core/css/StyleColor.h b/third_party/WebKit/Source/core/css/StyleColor.h
index c5925f2753d7050acf7f3f4c2319cc9cafb2dfa3..0a2b8077b66f64d62b3c7699530d089f8e763c90 100644
--- a/third_party/WebKit/Source/core/css/StyleColor.h
+++ b/third_party/WebKit/Source/core/css/StyleColor.h
@@ -59,6 +59,10 @@ class StyleColor {
static bool isColorKeyword(CSSValueID);
static bool isSystemColor(CSSValueID);
+ protected:
+ Color color() const { return m_color; }
+ void setCurrentColor(bool currentColor) { m_currentColor = currentColor; }
+
private:
Color m_color;
bool m_currentColor;

Powered by Google App Engine
This is Rietveld 408576698