| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 PseudoSingleButton, | 186 PseudoSingleButton, |
| 187 PseudoNoButton, | 187 PseudoNoButton, |
| 188 PseudoSelection, | 188 PseudoSelection, |
| 189 PseudoLeftPage, | 189 PseudoLeftPage, |
| 190 PseudoRightPage, | 190 PseudoRightPage, |
| 191 PseudoFirstPage, | 191 PseudoFirstPage, |
| 192 PseudoFullScreen, | 192 PseudoFullScreen, |
| 193 PseudoFullScreenAncestor, | 193 PseudoFullScreenAncestor, |
| 194 PseudoInRange, | 194 PseudoInRange, |
| 195 PseudoOutOfRange, | 195 PseudoOutOfRange, |
| 196 // Pseudo elements in UA ShadowRoots. Available in any stylesheets. |
| 196 PseudoWebKitCustomElement, | 197 PseudoWebKitCustomElement, |
| 198 // Pseudo elements in UA ShadowRoots. Availble only in UA stylesheets. |
| 199 PseudoBlinkInternalElement, |
| 197 PseudoCue, | 200 PseudoCue, |
| 198 PseudoFutureCue, | 201 PseudoFutureCue, |
| 199 PseudoPastCue, | 202 PseudoPastCue, |
| 200 PseudoUnresolved, | 203 PseudoUnresolved, |
| 201 PseudoContent, | 204 PseudoContent, |
| 202 PseudoHost, | 205 PseudoHost, |
| 203 PseudoHostContext, | 206 PseudoHostContext, |
| 204 PseudoShadow, | 207 PseudoShadow, |
| 205 PseudoSpatialNavigationFocus, | 208 PseudoSpatialNavigationFocus, |
| 206 PseudoListBox, | 209 PseudoListBox, |
| 210 PseudoHostHasAppearance, |
| 207 PseudoSlotted | 211 PseudoSlotted |
| 208 }; | 212 }; |
| 209 | 213 |
| 210 enum AttributeMatchType { | 214 enum AttributeMatchType { |
| 211 CaseSensitive, | 215 CaseSensitive, |
| 212 CaseInsensitive, | 216 CaseInsensitive, |
| 213 }; | 217 }; |
| 214 | 218 |
| 215 PseudoType getPseudoType() const { return static_cast<PseudoType>(m_pseudoTy
pe); } | 219 PseudoType getPseudoType() const { return static_cast<PseudoType>(m_pseudoTy
pe); } |
| 216 void updatePseudoType(const AtomicString&, bool hasArguments); | 220 void updatePseudoType(const AtomicString&, bool hasArguments); |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 if (m_hasRareData) | 479 if (m_hasRareData) |
| 476 return m_data.m_rareData->m_serializingValue; | 480 return m_data.m_rareData->m_serializingValue; |
| 477 // AtomicString is really just a StringImpl* so the cast below is safe. | 481 // AtomicString is really just a StringImpl* so the cast below is safe. |
| 478 // FIXME: Perhaps call sites could be changed to accept StringImpl? | 482 // FIXME: Perhaps call sites could be changed to accept StringImpl? |
| 479 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); | 483 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); |
| 480 } | 484 } |
| 481 | 485 |
| 482 } // namespace blink | 486 } // namespace blink |
| 483 | 487 |
| 484 #endif // CSSSelector_h | 488 #endif // CSSSelector_h |
| OLD | NEW |