| Index: third_party/WebKit/Source/core/style/ComputedStyle.h
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| index 2ee781a0144d73908be32b0099d7b765d2edeae9..2a96d42799af2a5459ba23e4fa4bbf73ad4c0b5a 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| @@ -2490,6 +2490,11 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
|
| SET_VAR(m_rareInheritedData, userSelect, s);
|
| }
|
|
|
| + // caret-color
|
| + void setCaretColor(const StyleAutoColor& c) {
|
| + SET_VAR_WITH_SETTER(m_rareInheritedData, caretColor, setCaretColor, c);
|
| + }
|
| +
|
| // Font properties.
|
| const Font& font() const;
|
| void setFont(const Font&);
|
| @@ -3872,6 +3877,10 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
|
| SET_VAR_WITH_SETTER(m_rareInheritedData, visitedLinkTextStrokeColor,
|
| setVisitedLinkTextStrokeColor, v);
|
| }
|
| + void setVisitedLinkCaretColor(const StyleAutoColor& v) {
|
| + SET_VAR_WITH_SETTER(m_rareInheritedData, visitedLinkCaretColor,
|
| + setVisitedLinkCaretColor, v);
|
| + }
|
|
|
| void inheritUnicodeBidiFrom(const ComputedStyle& parent) {
|
| m_nonInheritedData.m_unicodeBidi = parent.m_nonInheritedData.m_unicodeBidi;
|
| @@ -3920,6 +3929,9 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
|
| return m_surround->border.bottom().color();
|
| }
|
| StyleColor backgroundColor() const { return m_background->color(); }
|
| + StyleAutoColor caretColor() const {
|
| + return m_rareInheritedData->caretColor();
|
| + }
|
| Color color() const;
|
| StyleColor columnRuleColor() const {
|
| return m_rareNonInheritedData->m_multiCol->m_rule.color();
|
| @@ -3936,6 +3948,9 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
|
| StyleColor textStrokeColor() const {
|
| return m_rareInheritedData->textStrokeColor();
|
| }
|
| + StyleAutoColor visitedLinkCaretColor() const {
|
| + return m_rareInheritedData->visitedLinkCaretColor();
|
| + }
|
| Color visitedLinkColor() const;
|
| StyleColor visitedLinkBackgroundColor() const {
|
| return m_rareNonInheritedData->m_visitedLinkBackgroundColor;
|
|
|