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 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 protected: | 627 protected: |
628 Element(const QualifiedName& tagName, Handle<Document> document, Constructio
nType type) | 628 Element(const QualifiedName& tagName, Handle<Document> document, Constructio
nType type) |
629 : ContainerNode(document, type) | 629 : ContainerNode(document, type) |
630 , m_tagName(tagName) | 630 , m_tagName(tagName) |
631 { | 631 { |
632 ScriptWrappable::init(this); | 632 ScriptWrappable::init(this); |
633 } | 633 } |
634 | 634 |
635 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; | 635 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; |
636 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; | 636 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; |
637 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 637 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); |
638 virtual void removeAllEventListeners() OVERRIDE; | 638 virtual void removeAllEventListeners() OVERRIDE; |
639 | 639 |
640 virtual bool willRecalcStyle(StyleChange); | 640 virtual bool willRecalcStyle(StyleChange); |
641 virtual void didRecalcStyle(StyleChange); | 641 virtual void didRecalcStyle(StyleChange); |
642 virtual PassRefPtr<RenderStyle> customStyleForRenderer(); | 642 virtual PassRefPtr<RenderStyle> customStyleForRenderer(); |
643 | 643 |
644 virtual bool shouldRegisterAsNamedItem() const { return false; } | 644 virtual bool shouldRegisterAsNamedItem() const { return false; } |
645 virtual bool shouldRegisterAsExtraNamedItem() const { return false; } | 645 virtual bool shouldRegisterAsExtraNamedItem() const { return false; } |
646 | 646 |
647 void clearTabIndexExplicitlyIfNeeded(); | 647 void clearTabIndexExplicitlyIfNeeded(); |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1039 | 1039 |
1040 inline const Attribute* ElementData::attributeItem(unsigned index) const | 1040 inline const Attribute* ElementData::attributeItem(unsigned index) const |
1041 { | 1041 { |
1042 RELEASE_ASSERT(index < length()); | 1042 RELEASE_ASSERT(index < length()); |
1043 return attributeBase() + index; | 1043 return attributeBase() + index; |
1044 } | 1044 } |
1045 | 1045 |
1046 } // namespace | 1046 } // namespace |
1047 | 1047 |
1048 #endif | 1048 #endif |
OLD | NEW |