| 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. | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 7 * (http://www.torchmobile.com/) | 7 * (http://www.torchmobile.com/) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 void checkSlotChangeBeforeRemoved() { | 770 void checkSlotChangeBeforeRemoved() { |
| 771 checkSlotChange(SlotChangeType::Initial); | 771 checkSlotChange(SlotChangeType::Initial); |
| 772 } | 772 } |
| 773 | 773 |
| 774 DECLARE_VIRTUAL_TRACE(); | 774 DECLARE_VIRTUAL_TRACE(); |
| 775 | 775 |
| 776 DECLARE_VIRTUAL_TRACE_WRAPPERS(); | 776 DECLARE_VIRTUAL_TRACE_WRAPPERS(); |
| 777 | 777 |
| 778 unsigned lengthOfContents() const; | 778 unsigned lengthOfContents() const; |
| 779 | 779 |
| 780 v8::Local<v8::Object> wrap(v8::Isolate*, | |
| 781 v8::Local<v8::Object> creationContext) override; | |
| 782 WARN_UNUSED_RESULT v8::Local<v8::Object> associateWithWrapper( | |
| 783 v8::Isolate*, | |
| 784 const WrapperTypeInfo*, | |
| 785 v8::Local<v8::Object> wrapper) override; | |
| 786 | |
| 787 private: | 780 private: |
| 788 enum NodeFlags { | 781 enum NodeFlags { |
| 789 HasRareDataFlag = 1, | 782 HasRareDataFlag = 1, |
| 790 | 783 |
| 791 // Node type flags. These never change once created. | 784 // Node type flags. These never change once created. |
| 792 IsTextFlag = 1 << 1, | 785 IsTextFlag = 1 << 1, |
| 793 IsContainerFlag = 1 << 2, | 786 IsContainerFlag = 1 << 2, |
| 794 IsElementFlag = 1 << 3, | 787 IsElementFlag = 1 << 3, |
| 795 IsHTMLFlag = 1 << 4, | 788 IsHTMLFlag = 1 << 4, |
| 796 IsSVGFlag = 1 << 5, | 789 IsSVGFlag = 1 << 5, |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1022 } // namespace blink | 1015 } // namespace blink |
| 1023 | 1016 |
| 1024 #ifndef NDEBUG | 1017 #ifndef NDEBUG |
| 1025 // Outside the WebCore namespace for ease of invocation from gdb. | 1018 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1026 void showNode(const blink::Node*); | 1019 void showNode(const blink::Node*); |
| 1027 void showTree(const blink::Node*); | 1020 void showTree(const blink::Node*); |
| 1028 void showNodePath(const blink::Node*); | 1021 void showNodePath(const blink::Node*); |
| 1029 #endif | 1022 #endif |
| 1030 | 1023 |
| 1031 #endif // Node_h | 1024 #endif // Node_h |
| OLD | NEW |