| 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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 | 517 |
| 518 protected: | 518 protected: |
| 519 Element(const QualifiedName& tagName, Document*, ConstructionType); | 519 Element(const QualifiedName& tagName, Document*, ConstructionType); |
| 520 | 520 |
| 521 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, CSSValueID identifier); | 521 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, CSSValueID identifier); |
| 522 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, double value, CSSPrimitiveValue::UnitType); | 522 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, double value, CSSPrimitiveValue::UnitType); |
| 523 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, const String& value); | 523 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, const String& value); |
| 524 | 524 |
| 525 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 525 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
| 526 virtual void removedFrom(ContainerNode*) OVERRIDE; | 526 virtual void removedFrom(ContainerNode*) OVERRIDE; |
| 527 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; | 527 virtual void childrenChanged(const ChildrenChange&) OVERRIDE; |
| 528 | 528 |
| 529 virtual void willRecalcStyle(StyleRecalcChange); | 529 virtual void willRecalcStyle(StyleRecalcChange); |
| 530 virtual void didRecalcStyle(StyleRecalcChange); | 530 virtual void didRecalcStyle(StyleRecalcChange); |
| 531 virtual PassRefPtr<RenderStyle> customStyleForRenderer(); | 531 virtual PassRefPtr<RenderStyle> customStyleForRenderer(); |
| 532 | 532 |
| 533 virtual bool shouldRegisterAsNamedItem() const { return false; } | 533 virtual bool shouldRegisterAsNamedItem() const { return false; } |
| 534 virtual bool shouldRegisterAsExtraNamedItem() const { return false; } | 534 virtual bool shouldRegisterAsExtraNamedItem() const { return false; } |
| 535 | 535 |
| 536 virtual bool supportsSpatialNavigationFocus() const; | 536 virtual bool supportsSpatialNavigationFocus() const; |
| 537 | 537 |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 883 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 884 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 884 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 885 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 885 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 886 { \ | 886 { \ |
| 887 return adoptRefWillBeNoop(new T(tagName, document)); \ | 887 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 888 } | 888 } |
| 889 | 889 |
| 890 } // namespace | 890 } // namespace |
| 891 | 891 |
| 892 #endif | 892 #endif |
| OLD | NEW |