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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 | 306 |
307 bool hasEquivalentAttributes(const Element* other) const; | 307 bool hasEquivalentAttributes(const Element* other) const; |
308 | 308 |
309 virtual void copyNonAttributePropertiesFromElement(const Element&) { } | 309 virtual void copyNonAttributePropertiesFromElement(const Element&) { } |
310 | 310 |
311 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 311 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
312 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 312 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
313 virtual RenderObject* createRenderer(RenderStyle*); | 313 virtual RenderObject* createRenderer(RenderStyle*); |
314 virtual bool rendererIsNeeded(const RenderStyle&); | 314 virtual bool rendererIsNeeded(const RenderStyle&); |
315 void recalcStyle(StyleRecalcChange, Text* nextTextSibling = 0); | 315 void recalcStyle(StyleRecalcChange, Text* nextTextSibling = 0); |
316 void didAffectSelector(AffectedSelectorMask); | 316 void didAffectSelector(const StyleChangeReasonForTracing&, AffectedSelectorM
ask); |
317 void setAnimationStyleChange(bool); | 317 void setAnimationStyleChange(bool); |
318 void setNeedsAnimationStyleRecalc(); | 318 void setNeedsAnimationStyleRecalc(); |
319 | 319 |
320 void setNeedsCompositingUpdate(); | 320 void setNeedsCompositingUpdate(); |
321 | 321 |
322 bool supportsStyleSharing() const; | 322 bool supportsStyleSharing() const; |
323 | 323 |
324 ElementShadow* shadow() const; | 324 ElementShadow* shadow() const; |
325 ElementShadow& ensureShadow(); | 325 ElementShadow& ensureShadow(); |
326 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&); | 326 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&); |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
862 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 862 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
863 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 863 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
864 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 864 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
865 { \ | 865 { \ |
866 return adoptRefWillBeNoop(new T(tagName, document)); \ | 866 return adoptRefWillBeNoop(new T(tagName, document)); \ |
867 } | 867 } |
868 | 868 |
869 } // namespace | 869 } // namespace |
870 | 870 |
871 #endif // Element_h | 871 #endif // Element_h |
OLD | NEW |