| 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 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 void checkSlotChangeBeforeRemoved() { | 767 void checkSlotChangeBeforeRemoved() { |
| 768 checkSlotChange(SlotChangeType::Initial); | 768 checkSlotChange(SlotChangeType::Initial); |
| 769 } | 769 } |
| 770 | 770 |
| 771 DECLARE_VIRTUAL_TRACE(); | 771 DECLARE_VIRTUAL_TRACE(); |
| 772 | 772 |
| 773 DECLARE_VIRTUAL_TRACE_WRAPPERS(); | 773 DECLARE_VIRTUAL_TRACE_WRAPPERS(); |
| 774 | 774 |
| 775 unsigned lengthOfContents() const; | 775 unsigned lengthOfContents() const; |
| 776 | 776 |
| 777 v8::Local<v8::Object> wrap(v8::Isolate*, | |
| 778 v8::Local<v8::Object> creationContext) override; | |
| 779 WARN_UNUSED_RESULT v8::Local<v8::Object> associateWithWrapper( | |
| 780 v8::Isolate*, | |
| 781 const WrapperTypeInfo*, | |
| 782 v8::Local<v8::Object> wrapper) override; | |
| 783 | |
| 784 private: | 777 private: |
| 785 enum NodeFlags { | 778 enum NodeFlags { |
| 786 HasRareDataFlag = 1, | 779 HasRareDataFlag = 1, |
| 787 | 780 |
| 788 // Node type flags. These never change once created. | 781 // Node type flags. These never change once created. |
| 789 IsTextFlag = 1 << 1, | 782 IsTextFlag = 1 << 1, |
| 790 IsContainerFlag = 1 << 2, | 783 IsContainerFlag = 1 << 2, |
| 791 IsElementFlag = 1 << 3, | 784 IsElementFlag = 1 << 3, |
| 792 IsHTMLFlag = 1 << 4, | 785 IsHTMLFlag = 1 << 4, |
| 793 IsSVGFlag = 1 << 5, | 786 IsSVGFlag = 1 << 5, |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1019 } // namespace blink | 1012 } // namespace blink |
| 1020 | 1013 |
| 1021 #ifndef NDEBUG | 1014 #ifndef NDEBUG |
| 1022 // Outside the WebCore namespace for ease of invocation from gdb. | 1015 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1023 void showNode(const blink::Node*); | 1016 void showNode(const blink::Node*); |
| 1024 void showTree(const blink::Node*); | 1017 void showTree(const blink::Node*); |
| 1025 void showNodePath(const blink::Node*); | 1018 void showNodePath(const blink::Node*); |
| 1026 #endif | 1019 #endif |
| 1027 | 1020 |
| 1028 #endif // Node_h | 1021 #endif // Node_h |
| OLD | NEW |