| 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 dc7f23d61b54a35324c0e935bac9e9d41ad7b8be..545b2b979c4c506b26e3b0e6d6a94be46410af56 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| @@ -2500,6 +2500,11 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
|
| SET_VAR(m_rareInheritedData, userSelect, s);
|
| }
|
|
|
| + // caret-color
|
| + void setCaretColor(const StyleColor& c) {
|
| + SET_VAR_WITH_SETTER(m_rareInheritedData, caretColor, setCaretColor, c);
|
| + }
|
| +
|
| // Font properties.
|
| const Font& font() const;
|
| void setFont(const Font&);
|
| @@ -3882,6 +3887,10 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
|
| SET_VAR_WITH_SETTER(m_rareInheritedData, visitedLinkTextStrokeColor,
|
| setVisitedLinkTextStrokeColor, v);
|
| }
|
| + void setVisitedLinkCaretColor(const StyleColor& v) {
|
| + SET_VAR_WITH_SETTER(m_rareInheritedData, visitedLinkCaretColor,
|
| + setVisitedLinkCaretColor, v);
|
| + }
|
|
|
| void inheritUnicodeBidiFrom(const ComputedStyle& parent) {
|
| m_nonInheritedData.m_unicodeBidi = parent.m_nonInheritedData.m_unicodeBidi;
|
| @@ -3929,6 +3938,7 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
|
| return m_surround->border.bottom().color();
|
| }
|
| StyleColor backgroundColor() const { return m_background->color(); }
|
| + StyleColor caretColor() const { return m_rareInheritedData->caretColor(); }
|
| Color color() const;
|
| StyleColor columnRuleColor() const {
|
| return m_rareNonInheritedData->m_multiCol->m_rule.color();
|
| @@ -3945,6 +3955,9 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
|
| StyleColor textStrokeColor() const {
|
| return m_rareInheritedData->textStrokeColor();
|
| }
|
| + StyleColor visitedLinkCaretColor() const {
|
| + return m_rareInheritedData->visitedLinkCaretColor();
|
| + }
|
| Color visitedLinkColor() const;
|
| StyleColor visitedLinkBackgroundColor() const {
|
| return m_rareNonInheritedData->m_visitedLinkBackgroundColor;
|
|
|