| 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 | 305 |
| 306 bool isStyledElement() const; | 306 bool isStyledElement() const; |
| 307 | 307 |
| 308 bool isDocumentNode() const; | 308 bool isDocumentNode() const; |
| 309 bool isTreeScope() const; | 309 bool isTreeScope() const; |
| 310 bool isDocumentFragment() const { return getFlag(IsDocumentFragmentFlag); } | 310 bool isDocumentFragment() const { return getFlag(IsDocumentFragmentFlag); } |
| 311 bool isShadowRoot() const { return isDocumentFragment() && isTreeScope(); } | 311 bool isShadowRoot() const { return isDocumentFragment() && isTreeScope(); } |
| 312 bool isInsertionPoint() const { return getFlag(IsInsertionPointFlag); } | 312 bool isInsertionPoint() const { return getFlag(IsInsertionPointFlag); } |
| 313 | 313 |
| 314 bool canParticipateInFlatTree() const; | 314 bool canParticipateInFlatTree() const; |
| 315 bool isSlotOrActiveInsertionPoint() const; | 315 bool isActiveSlotOrActiveInsertionPoint() const; |
| 316 // A re-distribution across v0 and v1 shadow trees is not supported. | 316 // A re-distribution across v0 and v1 shadow trees is not supported. |
| 317 bool isSlotable() const { | 317 bool isSlotable() const { |
| 318 return isTextNode() || (isElementNode() && !isInsertionPoint()); | 318 return isTextNode() || (isElementNode() && !isInsertionPoint()); |
| 319 } | 319 } |
| 320 AtomicString slotName() const; | 320 AtomicString slotName() const; |
| 321 | 321 |
| 322 bool hasCustomStyleCallbacks() const { | 322 bool hasCustomStyleCallbacks() const { |
| 323 return getFlag(HasCustomStyleCallbacksFlag); | 323 return getFlag(HasCustomStyleCallbacksFlag); |
| 324 } | 324 } |
| 325 | 325 |
| (...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1043 } // namespace blink | 1043 } // namespace blink |
| 1044 | 1044 |
| 1045 #ifndef NDEBUG | 1045 #ifndef NDEBUG |
| 1046 // Outside the WebCore namespace for ease of invocation from gdb. | 1046 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1047 void showNode(const blink::Node*); | 1047 void showNode(const blink::Node*); |
| 1048 void showTree(const blink::Node*); | 1048 void showTree(const blink::Node*); |
| 1049 void showNodePath(const blink::Node*); | 1049 void showNodePath(const blink::Node*); |
| 1050 #endif | 1050 #endif |
| 1051 | 1051 |
| 1052 #endif // Node_h | 1052 #endif // Node_h |
| OLD | NEW |