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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 enum SynchronizationOfLazyAttribute { NotInSynchronizationOfLazyAttribute =
0, InSynchronizationOfLazyAttribute }; | 351 enum SynchronizationOfLazyAttribute { NotInSynchronizationOfLazyAttribute =
0, InSynchronizationOfLazyAttribute }; |
352 | 352 |
353 void willModifyAttribute(const QualifiedName&, const AtomicString& oldValue,
const AtomicString& newValue); | 353 void willModifyAttribute(const QualifiedName&, const AtomicString& oldValue,
const AtomicString& newValue); |
354 | 354 |
355 void synchronizeAllAttributes() const; | 355 void synchronizeAllAttributes() const; |
356 | 356 |
357 void updateId(const AtomicString& oldId, const AtomicString& newId); | 357 void updateId(const AtomicString& oldId, const AtomicString& newId); |
358 void updateId(TreeScope&, const AtomicString& oldId, const AtomicString& new
Id); | 358 void updateId(TreeScope&, const AtomicString& oldId, const AtomicString& new
Id); |
359 | 359 |
360 virtual NodeType nodeType() const override final; | 360 virtual NodeType nodeType() const override final; |
361 virtual bool childTypeAllowed(NodeType) const override final; | |
362 | 361 |
363 void setAttributeInternal(size_t index, const QualifiedName&, const AtomicSt
ring& value, SynchronizationOfLazyAttribute); | 362 void setAttributeInternal(size_t index, const QualifiedName&, const AtomicSt
ring& value, SynchronizationOfLazyAttribute); |
364 void appendAttributeInternal(const QualifiedName&, const AtomicString& value
, SynchronizationOfLazyAttribute); | 363 void appendAttributeInternal(const QualifiedName&, const AtomicString& value
, SynchronizationOfLazyAttribute); |
365 void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute); | 364 void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute); |
366 void attributeChangedFromParserOrByCloning(const QualifiedName&, const Atomi
cString&, AttributeModificationReason); | 365 void attributeChangedFromParserOrByCloning(const QualifiedName&, const Atomi
cString&, AttributeModificationReason); |
367 | 366 |
368 #ifndef NDEBUG | 367 #ifndef NDEBUG |
369 virtual void formatForDebugger(char* buffer, unsigned length) const override
; | 368 virtual void formatForDebugger(char* buffer, unsigned length) const override
; |
370 #endif | 369 #endif |
371 | 370 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 static PassRefPtr<T> create(const QualifiedName&, Document&) | 586 static PassRefPtr<T> create(const QualifiedName&, Document&) |
588 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 587 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
589 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ | 588 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ |
590 { \ | 589 { \ |
591 return adoptRef(new T(tagName, document)); \ | 590 return adoptRef(new T(tagName, document)); \ |
592 } | 591 } |
593 | 592 |
594 } // namespace | 593 } // namespace |
595 | 594 |
596 #endif // Element_h | 595 #endif // Element_h |
OLD | NEW |