| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * 1999 Waldo Bastian (bastian@kde.org) | 3 * 1999 Waldo Bastian (bastian@kde.org) |
| 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 enum PseudoType { | 116 enum PseudoType { |
| 117 PseudoNotParsed = 0, | 117 PseudoNotParsed = 0, |
| 118 PseudoUnknown, | 118 PseudoUnknown, |
| 119 PseudoHover, | 119 PseudoHover, |
| 120 PseudoFocus, | 120 PseudoFocus, |
| 121 PseudoActive, | 121 PseudoActive, |
| 122 PseudoLang, | 122 PseudoLang, |
| 123 PseudoUserAgentCustomElement, | 123 PseudoUserAgentCustomElement, |
| 124 PseudoUnresolved, | |
| 125 PseudoHost, | 124 PseudoHost, |
| 126 }; | 125 }; |
| 127 | 126 |
| 128 enum AttributeMatchType { | 127 enum AttributeMatchType { |
| 129 CaseSensitive, | 128 CaseSensitive, |
| 130 CaseInsensitive, | 129 CaseInsensitive, |
| 131 }; | 130 }; |
| 132 | 131 |
| 133 PseudoType pseudoType() const | 132 PseudoType pseudoType() const |
| 134 { | 133 { |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 if (m_hasRareData) | 340 if (m_hasRareData) |
| 342 return m_data.m_rareData->m_value; | 341 return m_data.m_rareData->m_value; |
| 343 // AtomicString is really just a StringImpl* so the cast below is safe. | 342 // AtomicString is really just a StringImpl* so the cast below is safe. |
| 344 // FIXME: Perhaps call sites could be changed to accept StringImpl? | 343 // FIXME: Perhaps call sites could be changed to accept StringImpl? |
| 345 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); | 344 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); |
| 346 } | 345 } |
| 347 | 346 |
| 348 } // namespace blink | 347 } // namespace blink |
| 349 | 348 |
| 350 #endif // SKY_ENGINE_CORE_CSS_CSSSELECTOR_H_ | 349 #endif // SKY_ENGINE_CORE_CSS_CSSSELECTOR_H_ |
| OLD | NEW |