| 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, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights 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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 bool childNeedsStyleInvalidation() const { return getFlag(ChildNeedsStyleInv
alidationFlag); } | 365 bool childNeedsStyleInvalidation() const { return getFlag(ChildNeedsStyleInv
alidationFlag); } |
| 366 void setChildNeedsStyleInvalidation() { setFlag(ChildNeedsStyleInvalidation
Flag); } | 366 void setChildNeedsStyleInvalidation() { setFlag(ChildNeedsStyleInvalidation
Flag); } |
| 367 void clearChildNeedsStyleInvalidation() { clearFlag(ChildNeedsStyleInvalida
tionFlag); } | 367 void clearChildNeedsStyleInvalidation() { clearFlag(ChildNeedsStyleInvalida
tionFlag); } |
| 368 void markAncestorsWithChildNeedsStyleInvalidation(); | 368 void markAncestorsWithChildNeedsStyleInvalidation(); |
| 369 bool needsStyleInvalidation() const { return getFlag(NeedsStyleInvalidationF
lag); } | 369 bool needsStyleInvalidation() const { return getFlag(NeedsStyleInvalidationF
lag); } |
| 370 void clearNeedsStyleInvalidation() { clearFlag(NeedsStyleInvalidationFlag);
} | 370 void clearNeedsStyleInvalidation() { clearFlag(NeedsStyleInvalidationFlag);
} |
| 371 void setNeedsStyleInvalidation(); | 371 void setNeedsStyleInvalidation(); |
| 372 | 372 |
| 373 void recalcDistribution(); | 373 void recalcDistribution(); |
| 374 | 374 |
| 375 bool needsLayerUpdate() const { return getFlag(NeedsLayerUpdateFlag); } | 375 bool svgFilterNeedsLayerUpdate() const { return getFlag(SVGFilterNeedsLayerU
pdateFlag); } |
| 376 void setNeedsLayerUpdate() { setFlag(NeedsLayerUpdateFlag); } | 376 void setSVGFilterNeedsLayerUpdate() { setFlag(SVGFilterNeedsLayerUpdateFlag)
; } |
| 377 void clearNeedsLayerUpdate() { clearFlag(NeedsLayerUpdateFlag); } | 377 void clearSVGFilterNeedsLayerUpdate() { clearFlag(SVGFilterNeedsLayerUpdateF
lag); } |
| 378 | 378 |
| 379 void setIsLink(bool f); | 379 void setIsLink(bool f); |
| 380 | 380 |
| 381 bool hasScopedHTMLStyleChild() const { return getFlag(HasScopedHTMLStyleChil
dFlag); } | 381 bool hasScopedHTMLStyleChild() const { return getFlag(HasScopedHTMLStyleChil
dFlag); } |
| 382 void setHasScopedHTMLStyleChild(bool flag) { setFlag(flag, HasScopedHTMLStyl
eChildFlag); } | 382 void setHasScopedHTMLStyleChild(bool flag) { setFlag(flag, HasScopedHTMLStyl
eChildFlag); } |
| 383 | 383 |
| 384 bool hasEventTargetData() const { return getFlag(HasEventTargetDataFlag); } | 384 bool hasEventTargetData() const { return getFlag(HasEventTargetDataFlag); } |
| 385 void setHasEventTargetData(bool flag) { setFlag(flag, HasEventTargetDataFlag
); } | 385 void setHasEventTargetData(bool flag) { setFlag(flag, HasEventTargetDataFlag
); } |
| 386 | 386 |
| 387 bool isV8CollectableDuringMinorGC() const { return getFlag(V8CollectableDuri
ngMinorGCFlag); } | 387 bool isV8CollectableDuringMinorGC() const { return getFlag(V8CollectableDuri
ngMinorGCFlag); } |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 | 696 |
| 697 // Tree state flags. These change when the element is added/removed | 697 // Tree state flags. These change when the element is added/removed |
| 698 // from a DOM tree. | 698 // from a DOM tree. |
| 699 InDocumentFlag = 1 << 10, | 699 InDocumentFlag = 1 << 10, |
| 700 IsInShadowTreeFlag = 1 << 11, | 700 IsInShadowTreeFlag = 1 << 11, |
| 701 | 701 |
| 702 // Set by the parser when the children are done parsing. | 702 // Set by the parser when the children are done parsing. |
| 703 IsFinishedParsingChildrenFlag = 1 << 12, | 703 IsFinishedParsingChildrenFlag = 1 << 12, |
| 704 | 704 |
| 705 // Flags related to recalcStyle. | 705 // Flags related to recalcStyle. |
| 706 NeedsLayerUpdateFlag = 1 << 13, | 706 SVGFilterNeedsLayerUpdateFlag = 1 << 13, |
| 707 HasCustomStyleCallbacksFlag = 1 << 14, | 707 HasCustomStyleCallbacksFlag = 1 << 14, |
| 708 ChildNeedsStyleInvalidationFlag = 1 << 15, | 708 ChildNeedsStyleInvalidationFlag = 1 << 15, |
| 709 NeedsStyleInvalidationFlag = 1 << 16, | 709 NeedsStyleInvalidationFlag = 1 << 16, |
| 710 ChildNeedsDistributionRecalcFlag = 1 << 17, | 710 ChildNeedsDistributionRecalcFlag = 1 << 17, |
| 711 ChildNeedsStyleRecalcFlag = 1 << 18, | 711 ChildNeedsStyleRecalcFlag = 1 << 18, |
| 712 StyleChangeMask = 1 << nodeStyleChangeShift | 1 << (nodeStyleChangeShift
+ 1), | 712 StyleChangeMask = 1 << nodeStyleChangeShift | 1 << (nodeStyleChangeShift
+ 1), |
| 713 | 713 |
| 714 CustomElementFlag = 1 << 21, | 714 CustomElementFlag = 1 << 21, |
| 715 CustomElementUpgradedFlag = 1 << 22, | 715 CustomElementUpgradedFlag = 1 << 22, |
| 716 | 716 |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 905 } // namespace WebCore | 905 } // namespace WebCore |
| 906 | 906 |
| 907 #ifndef NDEBUG | 907 #ifndef NDEBUG |
| 908 // Outside the WebCore namespace for ease of invocation from gdb. | 908 // Outside the WebCore namespace for ease of invocation from gdb. |
| 909 void showNode(const WebCore::Node*); | 909 void showNode(const WebCore::Node*); |
| 910 void showTree(const WebCore::Node*); | 910 void showTree(const WebCore::Node*); |
| 911 void showNodePath(const WebCore::Node*); | 911 void showNodePath(const WebCore::Node*); |
| 912 #endif | 912 #endif |
| 913 | 913 |
| 914 #endif | 914 #endif |
| OLD | NEW |