| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights | 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights |
| 4 * reserved. | 4 * reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 void UpdatePseudoType(const AtomicString& value, | 76 void UpdatePseudoType(const AtomicString& value, |
| 77 bool has_arguments, | 77 bool has_arguments, |
| 78 CSSParserMode mode) const { | 78 CSSParserMode mode) const { |
| 79 selector_->UpdatePseudoType(value, has_arguments, mode); | 79 selector_->UpdatePseudoType(value, has_arguments, mode); |
| 80 } | 80 } |
| 81 void UpdatePseudoPage(const AtomicString& value) { | 81 void UpdatePseudoPage(const AtomicString& value) { |
| 82 selector_->UpdatePseudoPage(value); | 82 selector_->UpdatePseudoPage(value); |
| 83 } | 83 } |
| 84 | 84 |
| 85 void UpdateLinkMatchType() { selector_->UpdateLinkMatchType(); } |
| 86 |
| 85 void AdoptSelectorVector( | 87 void AdoptSelectorVector( |
| 86 Vector<std::unique_ptr<CSSParserSelector>>& selector_vector); | 88 Vector<std::unique_ptr<CSSParserSelector>>& selector_vector); |
| 87 void SetSelectorList(std::unique_ptr<CSSSelectorList>); | 89 void SetSelectorList(std::unique_ptr<CSSSelectorList>); |
| 88 | 90 |
| 89 bool IsHostPseudoSelector() const; | 91 bool IsHostPseudoSelector() const; |
| 90 | 92 |
| 91 CSSSelector::MatchType Match() const { return selector_->Match(); } | 93 CSSSelector::MatchType Match() const { return selector_->Match(); } |
| 92 CSSSelector::PseudoType GetPseudoType() const { | 94 CSSSelector::PseudoType GetPseudoType() const { |
| 93 return selector_->GetPseudoType(); | 95 return selector_->GetPseudoType(); |
| 94 } | 96 } |
| (...skipping 23 matching lines...) Expand all Loading... |
| 118 void PrependTagSelector(const QualifiedName&, bool tag_is_implicit = false); | 120 void PrependTagSelector(const QualifiedName&, bool tag_is_implicit = false); |
| 119 | 121 |
| 120 private: | 122 private: |
| 121 std::unique_ptr<CSSSelector> selector_; | 123 std::unique_ptr<CSSSelector> selector_; |
| 122 std::unique_ptr<CSSParserSelector> tag_history_; | 124 std::unique_ptr<CSSParserSelector> tag_history_; |
| 123 }; | 125 }; |
| 124 | 126 |
| 125 } // namespace blink | 127 } // namespace blink |
| 126 | 128 |
| 127 #endif | 129 #endif |
| OLD | NEW |