| 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 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 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 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 CreateSVGElement = CreateElement | IsSVGFlag, | 742 CreateSVGElement = CreateElement | IsSVGFlag, |
| 743 CreateDocument = CreateContainer | InDocumentFlag, | 743 CreateDocument = CreateContainer | InDocumentFlag, |
| 744 CreateInsertionPoint = CreateHTMLElement | IsInsertionPointFlag, | 744 CreateInsertionPoint = CreateHTMLElement | IsInsertionPointFlag, |
| 745 CreateEditingText = CreateText | HasNameOrIsEditingTextFlag, | 745 CreateEditingText = CreateText | HasNameOrIsEditingTextFlag, |
| 746 }; | 746 }; |
| 747 | 747 |
| 748 Node(TreeScope*, ConstructionType); | 748 Node(TreeScope*, ConstructionType); |
| 749 | 749 |
| 750 virtual void didMoveToNewDocument(Document& oldDocument); | 750 virtual void didMoveToNewDocument(Document& oldDocument); |
| 751 | 751 |
| 752 bool addEventListenerInternal(const AtomicString& eventType, EventListener*,
const EventListenerOptions&) override; | 752 void addedEventListener(const AtomicString& eventType, RegisteredEventListen
er&) override; |
| 753 bool removeEventListenerInternal(const AtomicString& eventType, EventListene
r*, const EventListenerOptions&) override; | 753 void removedEventListener(const AtomicString& eventType, const RegisteredEve
ntListener&) override; |
| 754 DispatchEventResult dispatchEventInternal(Event*) override; | 754 DispatchEventResult dispatchEventInternal(Event*) override; |
| 755 | 755 |
| 756 static void reattachWhitespaceSiblingsIfNeeded(Text* start); | 756 static void reattachWhitespaceSiblingsIfNeeded(Text* start); |
| 757 | 757 |
| 758 bool hasRareData() const { return getFlag(HasRareDataFlag); } | 758 bool hasRareData() const { return getFlag(HasRareDataFlag); } |
| 759 | 759 |
| 760 NodeRareData* rareData() const; | 760 NodeRareData* rareData() const; |
| 761 NodeRareData& ensureRareData(); | 761 NodeRareData& ensureRareData(); |
| 762 | 762 |
| 763 void setHasCustomStyleCallbacks() { setFlag(true, HasCustomStyleCallbacksFla
g); } | 763 void setHasCustomStyleCallbacks() { setFlag(true, HasCustomStyleCallbacksFla
g); } |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 898 } // namespace blink | 898 } // namespace blink |
| 899 | 899 |
| 900 #ifndef NDEBUG | 900 #ifndef NDEBUG |
| 901 // Outside the WebCore namespace for ease of invocation from gdb. | 901 // Outside the WebCore namespace for ease of invocation from gdb. |
| 902 void showNode(const blink::Node*); | 902 void showNode(const blink::Node*); |
| 903 void showTree(const blink::Node*); | 903 void showTree(const blink::Node*); |
| 904 void showNodePath(const blink::Node*); | 904 void showNodePath(const blink::Node*); |
| 905 #endif | 905 #endif |
| 906 | 906 |
| 907 #endif // Node_h | 907 #endif // Node_h |
| OLD | NEW |