| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e Inc. All rights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e Inc. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 #ifndef NDEBUG | 744 #ifndef NDEBUG |
| 745 virtual void formatForDebugger(char* buffer, unsigned length) const; | 745 virtual void formatForDebugger(char* buffer, unsigned length) const; |
| 746 #endif | 746 #endif |
| 747 | 747 |
| 748 bool pseudoStyleCacheIsInvalid(const RenderStyle* currentStyle, RenderStyle*
newStyle); | 748 bool pseudoStyleCacheIsInvalid(const RenderStyle* currentStyle, RenderStyle*
newStyle); |
| 749 | 749 |
| 750 void cancelFocusAppearanceUpdate(); | 750 void cancelFocusAppearanceUpdate(); |
| 751 | 751 |
| 752 virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier =
NOPSEUDO) { return computedStyle(pseudoElementSpecifier); } | 752 virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier =
NOPSEUDO) { return computedStyle(pseudoElementSpecifier); } |
| 753 | 753 |
| 754 enum AddOrRemove { |
| 755 Add, |
| 756 Remove, |
| 757 }; |
| 758 void updateCallbackSelectors(AddOrRemove); |
| 759 |
| 754 // cloneNode is private so that non-virtual cloneElementWithChildren and clo
neElementWithoutChildren | 760 // cloneNode is private so that non-virtual cloneElementWithChildren and clo
neElementWithoutChildren |
| 755 // are used instead. | 761 // are used instead. |
| 756 virtual PassRefPtr<Node> cloneNode(bool deep) OVERRIDE; | 762 virtual PassRefPtr<Node> cloneNode(bool deep) OVERRIDE; |
| 757 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); | 763 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); |
| 758 | 764 |
| 759 QualifiedName m_tagName; | 765 QualifiedName m_tagName; |
| 760 bool rareDataStyleAffectedByEmpty() const; | 766 bool rareDataStyleAffectedByEmpty() const; |
| 761 bool rareDataChildrenAffectedByHover() const; | 767 bool rareDataChildrenAffectedByHover() const; |
| 762 bool rareDataChildrenAffectedByActive() const; | 768 bool rareDataChildrenAffectedByActive() const; |
| 763 bool rareDataChildrenAffectedByDrag() const; | 769 bool rareDataChildrenAffectedByDrag() const; |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1088 | 1094 |
| 1089 inline const Attribute* ElementData::attributeItem(unsigned index) const | 1095 inline const Attribute* ElementData::attributeItem(unsigned index) const |
| 1090 { | 1096 { |
| 1091 RELEASE_ASSERT(index < length()); | 1097 RELEASE_ASSERT(index < length()); |
| 1092 return attributeBase() + index; | 1098 return attributeBase() + index; |
| 1093 } | 1099 } |
| 1094 | 1100 |
| 1095 } // namespace | 1101 } // namespace |
| 1096 | 1102 |
| 1097 #endif | 1103 #endif |
| OLD | NEW |