| 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-2011, 2013, 2014 Apple Inc. All rights reserved. | 6 * Copyright (C) 2003-2011, 2013, 2014 Apple 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 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 900 return ensureComputedStyle(pseudoElementSpecifier); | 900 return ensureComputedStyle(pseudoElementSpecifier); |
| 901 } | 901 } |
| 902 | 902 |
| 903 inline void updateCallbackSelectors(const ComputedStyle* oldStyle, | 903 inline void updateCallbackSelectors(const ComputedStyle* oldStyle, |
| 904 const ComputedStyle* newStyle); | 904 const ComputedStyle* newStyle); |
| 905 inline void removeCallbackSelectors(); | 905 inline void removeCallbackSelectors(); |
| 906 inline void addCallbackSelectors(); | 906 inline void addCallbackSelectors(); |
| 907 | 907 |
| 908 // cloneNode is private so that non-virtual cloneElementWithChildren and | 908 // cloneNode is private so that non-virtual cloneElementWithChildren and |
| 909 // cloneElementWithoutChildren are used instead. | 909 // cloneElementWithoutChildren are used instead. |
| 910 Node* cloneNode(bool deep) override; | 910 Node* cloneNode(bool deep, ExceptionState&) override; |
| 911 virtual Element* cloneElementWithoutAttributesAndChildren(); | 911 virtual Element* cloneElementWithoutAttributesAndChildren(); |
| 912 | 912 |
| 913 QualifiedName m_tagName; | 913 QualifiedName m_tagName; |
| 914 | 914 |
| 915 void updateNamedItemRegistration(const AtomicString& oldName, | 915 void updateNamedItemRegistration(const AtomicString& oldName, |
| 916 const AtomicString& newName); | 916 const AtomicString& newName); |
| 917 void updateExtraNamedItemRegistration(const AtomicString& oldName, | 917 void updateExtraNamedItemRegistration(const AtomicString& oldName, |
| 918 const AtomicString& newName); | 918 const AtomicString& newName); |
| 919 | 919 |
| 920 void createUniqueElementData(); | 920 void createUniqueElementData(); |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1191 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1191 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1192 static T* create(const QualifiedName&, Document&) | 1192 static T* create(const QualifiedName&, Document&) |
| 1193 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1193 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1194 T* T::create(const QualifiedName& tagName, Document& document) { \ | 1194 T* T::create(const QualifiedName& tagName, Document& document) { \ |
| 1195 return new T(tagName, document); \ | 1195 return new T(tagName, document); \ |
| 1196 } | 1196 } |
| 1197 | 1197 |
| 1198 } // namespace blink | 1198 } // namespace blink |
| 1199 | 1199 |
| 1200 #endif // Element_h | 1200 #endif // Element_h |
| OLD | NEW |