| 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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 void classAttributeChanged(const AtomicString& newClassString); | 418 void classAttributeChanged(const AtomicString& newClassString); |
| 419 | 419 |
| 420 PassRefPtr<RenderStyle> originalStyleForRenderer(); | 420 PassRefPtr<RenderStyle> originalStyleForRenderer(); |
| 421 | 421 |
| 422 private: | 422 private: |
| 423 bool hasElementFlag(ElementFlags mask) const { return hasRareData() && hasEl
ementFlagInternal(mask); } | 423 bool hasElementFlag(ElementFlags mask) const { return hasRareData() && hasEl
ementFlagInternal(mask); } |
| 424 void setElementFlag(ElementFlags, bool value = true); | 424 void setElementFlag(ElementFlags, bool value = true); |
| 425 void clearElementFlag(ElementFlags); | 425 void clearElementFlag(ElementFlags); |
| 426 bool hasElementFlagInternal(ElementFlags) const; | 426 bool hasElementFlagInternal(ElementFlags) const; |
| 427 | 427 |
| 428 bool isElementNode() const WTF_DELETED_FUNCTION; // This will catch anyone d
oing an unnecessary check. | 428 bool isElementNode() const = delete; // This will catch anyone doing an unne
cessary check. |
| 429 bool isDocumentFragment() const WTF_DELETED_FUNCTION; // This will catch any
one doing an unnecessary check. | 429 bool isDocumentFragment() const = delete; // This will catch anyone doing an
unnecessary check. |
| 430 bool isDocumentNode() const WTF_DELETED_FUNCTION; // This will catch anyone
doing an unnecessary check. | 430 bool isDocumentNode() const = delete; // This will catch anyone doing an unn
ecessary check. |
| 431 | 431 |
| 432 void styleAttributeChanged(const AtomicString& newStyleString); | 432 void styleAttributeChanged(const AtomicString& newStyleString); |
| 433 | 433 |
| 434 void inlineStyleChanged(); | 434 void inlineStyleChanged(); |
| 435 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); | 435 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); |
| 436 void setInlineStyleFromString(const AtomicString&); | 436 void setInlineStyleFromString(const AtomicString&); |
| 437 | 437 |
| 438 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); | 438 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); |
| 439 void recalcChildStyle(StyleRecalcChange); | 439 void recalcChildStyle(StyleRecalcChange); |
| 440 | 440 |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 688 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 689 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 689 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 690 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 690 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 691 { \ | 691 { \ |
| 692 return adoptRefWillBeNoop(new T(tagName, document)); \ | 692 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 693 } | 693 } |
| 694 | 694 |
| 695 } // namespace | 695 } // namespace |
| 696 | 696 |
| 697 #endif // Element_h | 697 #endif // Element_h |
| OLD | NEW |