| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
| 6 * rights reserved. | 6 * rights reserved. |
| 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1667 SET_VAR(rare_inherited_data_, overflow_wrap_, static_cast<unsigned>(b)); | 1667 SET_VAR(rare_inherited_data_, overflow_wrap_, static_cast<unsigned>(b)); |
| 1668 } | 1668 } |
| 1669 | 1669 |
| 1670 // quotes | 1670 // quotes |
| 1671 static QuotesData* InitialQuotes() { return 0; } | 1671 static QuotesData* InitialQuotes() { return 0; } |
| 1672 QuotesData* Quotes() const { return rare_inherited_data_->quotes_.Get(); } | 1672 QuotesData* Quotes() const { return rare_inherited_data_->quotes_.Get(); } |
| 1673 void SetQuotes(RefPtr<QuotesData>); | 1673 void SetQuotes(RefPtr<QuotesData>); |
| 1674 | 1674 |
| 1675 bool QuotesDataEquivalent(const ComputedStyle&) const; | 1675 bool QuotesDataEquivalent(const ComputedStyle&) const; |
| 1676 | 1676 |
| 1677 // speak | |
| 1678 static ESpeak InitialSpeak() { return ESpeak::kNormal; } | |
| 1679 ESpeak Speak() const { | |
| 1680 return static_cast<ESpeak>(rare_inherited_data_->speak_); | |
| 1681 } | |
| 1682 void SetSpeak(ESpeak s) { | |
| 1683 SET_VAR(rare_inherited_data_, speak_, static_cast<unsigned>(s)); | |
| 1684 } | |
| 1685 | |
| 1686 // text-align-last | 1677 // text-align-last |
| 1687 static TextAlignLast InitialTextAlignLast() { return kTextAlignLastAuto; } | 1678 static TextAlignLast InitialTextAlignLast() { return kTextAlignLastAuto; } |
| 1688 TextAlignLast GetTextAlignLast() const { | 1679 TextAlignLast GetTextAlignLast() const { |
| 1689 return static_cast<TextAlignLast>(rare_inherited_data_->text_align_last_); | 1680 return static_cast<TextAlignLast>(rare_inherited_data_->text_align_last_); |
| 1690 } | 1681 } |
| 1691 void SetTextAlignLast(TextAlignLast v) { | 1682 void SetTextAlignLast(TextAlignLast v) { |
| 1692 SET_VAR(rare_inherited_data_, text_align_last_, v); | 1683 SET_VAR(rare_inherited_data_, text_align_last_, v); |
| 1693 } | 1684 } |
| 1694 | 1685 |
| 1695 // text-combine-upright (aka -webkit-text-combine, -epub-text-combine) | 1686 // text-combine-upright (aka -webkit-text-combine, -epub-text-combine) |
| (...skipping 2083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3779 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3770 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
| 3780 } | 3771 } |
| 3781 | 3772 |
| 3782 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3773 inline bool ComputedStyle::HasPseudoElementStyle() const { |
| 3783 return PseudoBitsInternal() & kElementPseudoIdMask; | 3774 return PseudoBitsInternal() & kElementPseudoIdMask; |
| 3784 } | 3775 } |
| 3785 | 3776 |
| 3786 } // namespace blink | 3777 } // namespace blink |
| 3787 | 3778 |
| 3788 #endif // ComputedStyle_h | 3779 #endif // ComputedStyle_h |
| OLD | NEW |