| 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 | 377 |
| 378 bool childNeedsStyleInvalidation() const { return getFlag(ChildNeedsStyleInv
alidationFlag); } | 378 bool childNeedsStyleInvalidation() const { return getFlag(ChildNeedsStyleInv
alidationFlag); } |
| 379 void setChildNeedsStyleInvalidation() { setFlag(ChildNeedsStyleInvalidation
Flag); } | 379 void setChildNeedsStyleInvalidation() { setFlag(ChildNeedsStyleInvalidation
Flag); } |
| 380 void clearChildNeedsStyleInvalidation() { clearFlag(ChildNeedsStyleInvalida
tionFlag); } | 380 void clearChildNeedsStyleInvalidation() { clearFlag(ChildNeedsStyleInvalida
tionFlag); } |
| 381 void markAncestorsWithChildNeedsStyleInvalidation(); | 381 void markAncestorsWithChildNeedsStyleInvalidation(); |
| 382 bool needsStyleInvalidation() const { return getFlag(NeedsStyleInvalidationF
lag); } | 382 bool needsStyleInvalidation() const { return getFlag(NeedsStyleInvalidationF
lag); } |
| 383 void clearNeedsStyleInvalidation() { clearFlag(NeedsStyleInvalidationFlag);
} | 383 void clearNeedsStyleInvalidation() { clearFlag(NeedsStyleInvalidationFlag);
} |
| 384 void setNeedsStyleInvalidation(); | 384 void setNeedsStyleInvalidation(); |
| 385 | 385 |
| 386 void updateDistribution(); | 386 void updateDistribution(); |
| 387 void recalcDistribution(); | |
| 388 | 387 |
| 389 bool svgFilterNeedsLayerUpdate() const { return getFlag(SVGFilterNeedsLayerU
pdateFlag); } | 388 bool svgFilterNeedsLayerUpdate() const { return getFlag(SVGFilterNeedsLayerU
pdateFlag); } |
| 390 void setSVGFilterNeedsLayerUpdate() { setFlag(SVGFilterNeedsLayerUpdateFlag)
; } | 389 void setSVGFilterNeedsLayerUpdate() { setFlag(SVGFilterNeedsLayerUpdateFlag)
; } |
| 391 void clearSVGFilterNeedsLayerUpdate() { clearFlag(SVGFilterNeedsLayerUpdateF
lag); } | 390 void clearSVGFilterNeedsLayerUpdate() { clearFlag(SVGFilterNeedsLayerUpdateF
lag); } |
| 392 | 391 |
| 393 void setIsLink(bool f); | 392 void setIsLink(bool f); |
| 394 | 393 |
| 395 bool hasEventTargetData() const { return getFlag(HasEventTargetDataFlag); } | 394 bool hasEventTargetData() const { return getFlag(HasEventTargetDataFlag); } |
| 396 void setHasEventTargetData(bool flag) { setFlag(flag, HasEventTargetDataFlag
); } | 395 void setHasEventTargetData(bool flag) { setFlag(flag, HasEventTargetDataFlag
); } |
| 397 | 396 |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 792 | 791 |
| 793 enum EditableLevel { Editable, RichlyEditable }; | 792 enum EditableLevel { Editable, RichlyEditable }; |
| 794 bool hasEditableStyle(EditableLevel, UserSelectAllTreatment = UserSelectAllI
sAlwaysNonEditable) const; | 793 bool hasEditableStyle(EditableLevel, UserSelectAllTreatment = UserSelectAllI
sAlwaysNonEditable) const; |
| 795 bool isEditableToAccessibility(EditableLevel) const; | 794 bool isEditableToAccessibility(EditableLevel) const; |
| 796 | 795 |
| 797 bool isUserActionElementActive() const; | 796 bool isUserActionElementActive() const; |
| 798 bool isUserActionElementInActiveChain() const; | 797 bool isUserActionElementInActiveChain() const; |
| 799 bool isUserActionElementHovered() const; | 798 bool isUserActionElementHovered() const; |
| 800 bool isUserActionElementFocused() const; | 799 bool isUserActionElementFocused() const; |
| 801 | 800 |
| 801 void recalcDistribution(); |
| 802 |
| 802 void setStyleChange(StyleChangeType); | 803 void setStyleChange(StyleChangeType); |
| 803 | 804 |
| 804 virtual ComputedStyle* nonLayoutObjectComputedStyle() const { return nullptr
; } | 805 virtual ComputedStyle* nonLayoutObjectComputedStyle() const { return nullptr
; } |
| 805 | 806 |
| 806 virtual const ComputedStyle* virtualEnsureComputedStyle(PseudoId = NOPSEUDO)
; | 807 virtual const ComputedStyle* virtualEnsureComputedStyle(PseudoId = NOPSEUDO)
; |
| 807 | 808 |
| 808 void trackForDebugging(); | 809 void trackForDebugging(); |
| 809 | 810 |
| 810 WillBeHeapVector<OwnPtrWillBeMember<MutationObserverRegistration>>* mutation
ObserverRegistry(); | 811 WillBeHeapVector<OwnPtrWillBeMember<MutationObserverRegistration>>* mutation
ObserverRegistry(); |
| 811 WillBeHeapHashSet<RawPtrWillBeMember<MutationObserverRegistration>>* transie
ntMutationObserverRegistry(); | 812 WillBeHeapHashSet<RawPtrWillBeMember<MutationObserverRegistration>>* transie
ntMutationObserverRegistry(); |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 905 } // namespace blink | 906 } // namespace blink |
| 906 | 907 |
| 907 #ifndef NDEBUG | 908 #ifndef NDEBUG |
| 908 // Outside the WebCore namespace for ease of invocation from gdb. | 909 // Outside the WebCore namespace for ease of invocation from gdb. |
| 909 void showNode(const blink::Node*); | 910 void showNode(const blink::Node*); |
| 910 void showTree(const blink::Node*); | 911 void showTree(const blink::Node*); |
| 911 void showNodePath(const blink::Node*); | 912 void showNodePath(const blink::Node*); |
| 912 #endif | 913 #endif |
| 913 | 914 |
| 914 #endif // Node_h | 915 #endif // Node_h |
| OLD | NEW |