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 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 void didAddAttribute(const QualifiedName&, const AtomicString&); | 589 void didAddAttribute(const QualifiedName&, const AtomicString&); |
590 void willModifyAttribute(const QualifiedName&, const AtomicString& oldValue,
const AtomicString& newValue); | 590 void willModifyAttribute(const QualifiedName&, const AtomicString& oldValue,
const AtomicString& newValue); |
591 void didModifyAttribute(const QualifiedName&, const AtomicString&); | 591 void didModifyAttribute(const QualifiedName&, const AtomicString&); |
592 void didRemoveAttribute(const QualifiedName&); | 592 void didRemoveAttribute(const QualifiedName&); |
593 | 593 |
594 void synchronizeAttribute(const QualifiedName&) const; | 594 void synchronizeAttribute(const QualifiedName&) const; |
595 | 595 |
596 void updateId(const AtomicString& oldId, const AtomicString& newId); | 596 void updateId(const AtomicString& oldId, const AtomicString& newId); |
597 void updateId(TreeScope&, const AtomicString& oldId, const AtomicString& new
Id); | 597 void updateId(TreeScope&, const AtomicString& oldId, const AtomicString& new
Id); |
598 void updateName(const AtomicString& oldName, const AtomicString& newName); | 598 void updateName(const AtomicString& oldName, const AtomicString& newName); |
599 void updateLabel(TreeScope&, const AtomicString& oldForAttributeValue, const
AtomicString& newForAttributeValue); | |
600 | 599 |
601 void scrollByUnits(int units, ScrollGranularity); | 600 void scrollByUnits(int units, ScrollGranularity); |
602 | 601 |
603 virtual NodeType nodeType() const OVERRIDE FINAL; | 602 virtual NodeType nodeType() const OVERRIDE FINAL; |
604 virtual bool childTypeAllowed(NodeType) const OVERRIDE FINAL; | 603 virtual bool childTypeAllowed(NodeType) const OVERRIDE FINAL; |
605 | 604 |
606 void setAttributeInternal(size_t index, const QualifiedName&, const AtomicSt
ring& value, SynchronizationOfLazyAttribute); | 605 void setAttributeInternal(size_t index, const QualifiedName&, const AtomicSt
ring& value, SynchronizationOfLazyAttribute); |
607 void appendAttributeInternal(const QualifiedName&, const AtomicString& value
, SynchronizationOfLazyAttribute); | 606 void appendAttributeInternal(const QualifiedName&, const AtomicString& value
, SynchronizationOfLazyAttribute); |
608 void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute); | 607 void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute); |
609 void attributeChangedFromParserOrByCloning(const QualifiedName&, const Atomi
cString&, AttributeModificationReason); | 608 void attributeChangedFromParserOrByCloning(const QualifiedName&, const Atomi
cString&, AttributeModificationReason); |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
869 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 868 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
870 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 869 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
871 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 870 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
872 { \ | 871 { \ |
873 return adoptRefWillBeNoop(new T(tagName, document)); \ | 872 return adoptRefWillBeNoop(new T(tagName, document)); \ |
874 } | 873 } |
875 | 874 |
876 } // namespace | 875 } // namespace |
877 | 876 |
878 #endif | 877 #endif |
OLD | NEW |