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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 // parseAttribute (called via setAttribute()) and | 539 // parseAttribute (called via setAttribute()) and |
540 // svgAttributeChanged (called when element.className.baseValue is set) | 540 // svgAttributeChanged (called when element.className.baseValue is set) |
541 void classAttributeChanged(const AtomicString& newClassString); | 541 void classAttributeChanged(const AtomicString& newClassString); |
542 | 542 |
543 PassRefPtr<LayoutStyle> originalStyleForRenderer(); | 543 PassRefPtr<LayoutStyle> originalStyleForRenderer(); |
544 | 544 |
545 Node* insertAdjacent(const String& where, Node* newChild, ExceptionState&); | 545 Node* insertAdjacent(const String& where, Node* newChild, ExceptionState&); |
546 | 546 |
547 virtual void parserDidSetAttributes() { }; | 547 virtual void parserDidSetAttributes() { }; |
548 | 548 |
549 void scrollRenderBoxBy(const ScrollToOptions&); | 549 void scrollLayoutBoxBy(const ScrollToOptions&); |
550 void scrollRenderBoxTo(const ScrollToOptions&); | 550 void scrollLayoutBoxTo(const ScrollToOptions&); |
551 void scrollFrameBy(const ScrollToOptions&); | 551 void scrollFrameBy(const ScrollToOptions&); |
552 void scrollFrameTo(const ScrollToOptions&); | 552 void scrollFrameTo(const ScrollToOptions&); |
553 | 553 |
554 private: | 554 private: |
555 bool hasElementFlag(ElementFlags mask) const { return hasRareData() && hasEl
ementFlagInternal(mask); } | 555 bool hasElementFlag(ElementFlags mask) const { return hasRareData() && hasEl
ementFlagInternal(mask); } |
556 void setElementFlag(ElementFlags, bool value = true); | 556 void setElementFlag(ElementFlags, bool value = true); |
557 void clearElementFlag(ElementFlags); | 557 void clearElementFlag(ElementFlags); |
558 bool hasElementFlagInternal(ElementFlags) const; | 558 bool hasElementFlagInternal(ElementFlags) const; |
559 | 559 |
560 bool isElementNode() const = delete; // This will catch anyone doing an unne
cessary check. | 560 bool isElementNode() const = delete; // This will catch anyone doing an unne
cessary check. |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
881 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 881 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
882 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 882 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
883 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 883 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
884 { \ | 884 { \ |
885 return adoptRefWillBeNoop(new T(tagName, document)); \ | 885 return adoptRefWillBeNoop(new T(tagName, document)); \ |
886 } | 886 } |
887 | 887 |
888 } // namespace | 888 } // namespace |
889 | 889 |
890 #endif // Element_h | 890 #endif // Element_h |
OLD | NEW |