| 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 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl
ag); } | 656 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl
ag); } |
| 657 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } | 657 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } |
| 658 | 658 |
| 659 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi
ldrenFlag); } | 659 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi
ldrenFlag); } |
| 660 | 660 |
| 661 virtual void trace(Visitor*) override; | 661 virtual void trace(Visitor*) override; |
| 662 | 662 |
| 663 unsigned lengthOfContents() const; | 663 unsigned lengthOfContents() const; |
| 664 | 664 |
| 665 virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext,
v8::Isolate*) override; | 665 virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext,
v8::Isolate*) override; |
| 666 virtual v8::Handle<v8::Object> associateWithWrapper(const WrapperTypeInfo*,
v8::Handle<v8::Object> wrapper, v8::Isolate*) override; | 666 virtual v8::Handle<v8::Object> associateWithWrapper(v8::Isolate*, const Wrap
perTypeInfo*, v8::Handle<v8::Object> wrapper) override; |
| 667 | 667 |
| 668 private: | 668 private: |
| 669 enum NodeFlags { | 669 enum NodeFlags { |
| 670 HasRareDataFlag = 1, | 670 HasRareDataFlag = 1, |
| 671 | 671 |
| 672 // Node type flags. These never change once created. | 672 // Node type flags. These never change once created. |
| 673 IsTextFlag = 1 << 1, | 673 IsTextFlag = 1 << 1, |
| 674 IsContainerFlag = 1 << 2, | 674 IsContainerFlag = 1 << 2, |
| 675 IsElementFlag = 1 << 3, | 675 IsElementFlag = 1 << 3, |
| 676 IsHTMLFlag = 1 << 4, | 676 IsHTMLFlag = 1 << 4, |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 894 } // namespace blink | 894 } // namespace blink |
| 895 | 895 |
| 896 #ifndef NDEBUG | 896 #ifndef NDEBUG |
| 897 // Outside the WebCore namespace for ease of invocation from gdb. | 897 // Outside the WebCore namespace for ease of invocation from gdb. |
| 898 void showNode(const blink::Node*); | 898 void showNode(const blink::Node*); |
| 899 void showTree(const blink::Node*); | 899 void showTree(const blink::Node*); |
| 900 void showNodePath(const blink::Node*); | 900 void showNodePath(const blink::Node*); |
| 901 #endif | 901 #endif |
| 902 | 902 |
| 903 #endif // Node_h | 903 #endif // Node_h |
| OLD | NEW |