| 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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 bool hasInputMethodContext() const; | 495 bool hasInputMethodContext() const; |
| 496 | 496 |
| 497 void synchronizeAttribute(const AtomicString& localName) const; | 497 void synchronizeAttribute(const AtomicString& localName) const; |
| 498 | 498 |
| 499 MutableStylePropertySet& ensureMutableInlineStyle(); | 499 MutableStylePropertySet& ensureMutableInlineStyle(); |
| 500 void clearMutableInlineStyleIfEmpty(); | 500 void clearMutableInlineStyleIfEmpty(); |
| 501 | 501 |
| 502 void setTabIndex(int); | 502 void setTabIndex(int); |
| 503 virtual short tabIndex() const override; | 503 virtual short tabIndex() const override; |
| 504 | 504 |
| 505 void incrementProxyCount(); |
| 506 void decrementProxyCount(); |
| 507 |
| 505 DECLARE_VIRTUAL_TRACE(); | 508 DECLARE_VIRTUAL_TRACE(); |
| 506 | 509 |
| 507 SpellcheckAttributeState spellcheckAttributeState() const; | 510 SpellcheckAttributeState spellcheckAttributeState() const; |
| 508 | 511 |
| 509 protected: | 512 protected: |
| 510 Element(const QualifiedName& tagName, Document*, ConstructionType); | 513 Element(const QualifiedName& tagName, Document*, ConstructionType); |
| 511 | 514 |
| 512 const ElementData* elementData() const { return m_elementData.get(); } | 515 const ElementData* elementData() const { return m_elementData.get(); } |
| 513 UniqueElementData& ensureUniqueElementData(); | 516 UniqueElementData& ensureUniqueElementData(); |
| 514 | 517 |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 887 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 885 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 888 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 886 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 889 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 887 { \ | 890 { \ |
| 888 return adoptRefWillBeNoop(new T(tagName, document)); \ | 891 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 889 } | 892 } |
| 890 | 893 |
| 891 } // namespace | 894 } // namespace |
| 892 | 895 |
| 893 #endif // Element_h | 896 #endif // Element_h |
| OLD | NEW |