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 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 | 683 |
684 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl
ag); } | 684 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl
ag); } |
685 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } | 685 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } |
686 | 686 |
687 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi
ldrenFlag); } | 687 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi
ldrenFlag); } |
688 | 688 |
689 DECLARE_VIRTUAL_TRACE(); | 689 DECLARE_VIRTUAL_TRACE(); |
690 | 690 |
691 unsigned lengthOfContents() const; | 691 unsigned lengthOfContents() const; |
692 | 692 |
693 virtual v8::Local<v8::Object> wrap(v8::Local<v8::Object> creationContext, v8
::Isolate*) override; | 693 virtual v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creat
ionContext) override; |
694 virtual v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const Wrapp
erTypeInfo*, v8::Local<v8::Object> wrapper) override; | 694 virtual v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const Wrapp
erTypeInfo*, v8::Local<v8::Object> wrapper) override; |
695 | 695 |
696 private: | 696 private: |
697 enum NodeFlags { | 697 enum NodeFlags { |
698 HasRareDataFlag = 1, | 698 HasRareDataFlag = 1, |
699 | 699 |
700 // Node type flags. These never change once created. | 700 // Node type flags. These never change once created. |
701 IsTextFlag = 1 << 1, | 701 IsTextFlag = 1 << 1, |
702 IsContainerFlag = 1 << 2, | 702 IsContainerFlag = 1 << 2, |
703 IsElementFlag = 1 << 3, | 703 IsElementFlag = 1 << 3, |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 } // namespace blink | 917 } // namespace blink |
918 | 918 |
919 #ifndef NDEBUG | 919 #ifndef NDEBUG |
920 // Outside the WebCore namespace for ease of invocation from gdb. | 920 // Outside the WebCore namespace for ease of invocation from gdb. |
921 void showNode(const blink::Node*); | 921 void showNode(const blink::Node*); |
922 void showTree(const blink::Node*); | 922 void showTree(const blink::Node*); |
923 void showNodePath(const blink::Node*); | 923 void showNodePath(const blink::Node*); |
924 #endif | 924 #endif |
925 | 925 |
926 #endif // Node_h | 926 #endif // Node_h |
OLD | NEW |