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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 | 368 |
369 void recalcDistribution(); | 369 void recalcDistribution(); |
370 | 370 |
371 bool needsLayerUpdate() const { return getFlag(NeedsLayerUpdateFlag); } | 371 bool needsLayerUpdate() const { return getFlag(NeedsLayerUpdateFlag); } |
372 void setNeedsLayerUpdate() { setFlag(NeedsLayerUpdateFlag); } | 372 void setNeedsLayerUpdate() { setFlag(NeedsLayerUpdateFlag); } |
373 void clearNeedsLayerUpdate() { clearFlag(NeedsLayerUpdateFlag); } | 373 void clearNeedsLayerUpdate() { clearFlag(NeedsLayerUpdateFlag); } |
374 | 374 |
375 void setIsLink(bool f); | 375 void setIsLink(bool f); |
376 | 376 |
377 bool hasScopedHTMLStyleChild() const { return getFlag(HasScopedHTMLStyleChil
dFlag); } | 377 bool hasScopedHTMLStyleChild() const { return getFlag(HasScopedHTMLStyleChil
dFlag); } |
378 void setHasScopedHTMLStyleChild(bool flag) { setFlag(flag, HasScopedHTMLStyl
eChildFlag); } | 378 void setHasScopedHTMLStyleChild(bool flag) { ASSERT(isShadowRoot()); setFlag
(flag, HasScopedHTMLStyleChildFlag); } |
379 | 379 |
380 bool hasEventTargetData() const { return getFlag(HasEventTargetDataFlag); } | 380 bool hasEventTargetData() const { return getFlag(HasEventTargetDataFlag); } |
381 void setHasEventTargetData(bool flag) { setFlag(flag, HasEventTargetDataFlag
); } | 381 void setHasEventTargetData(bool flag) { setFlag(flag, HasEventTargetDataFlag
); } |
382 | 382 |
383 bool isV8CollectableDuringMinorGC() const { return getFlag(V8CollectableDuri
ngMinorGCFlag); } | 383 bool isV8CollectableDuringMinorGC() const { return getFlag(V8CollectableDuri
ngMinorGCFlag); } |
384 void markV8CollectableDuringMinorGC() { setFlag(true, V8CollectableDuringMin
orGCFlag); } | 384 void markV8CollectableDuringMinorGC() { setFlag(true, V8CollectableDuringMin
orGCFlag); } |
385 void clearV8CollectableDuringMinorGC() { setFlag(false, V8CollectableDuringM
inorGCFlag); } | 385 void clearV8CollectableDuringMinorGC() { setFlag(false, V8CollectableDuringM
inorGCFlag); } |
386 | 386 |
387 virtual void setFocus(bool flag); | 387 virtual void setFocus(bool flag); |
388 virtual void setActive(bool flag = true); | 388 virtual void setActive(bool flag = true); |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 virtual EventTargetData* eventTargetData() OVERRIDE; | 644 virtual EventTargetData* eventTargetData() OVERRIDE; |
645 virtual EventTargetData& ensureEventTargetData() OVERRIDE; | 645 virtual EventTargetData& ensureEventTargetData() OVERRIDE; |
646 | 646 |
647 void getRegisteredMutationObserversOfType(HashMap<MutationObserver*, Mutatio
nRecordDeliveryOptions>&, MutationObserver::MutationType, const QualifiedName* a
ttributeName); | 647 void getRegisteredMutationObserversOfType(HashMap<MutationObserver*, Mutatio
nRecordDeliveryOptions>&, MutationObserver::MutationType, const QualifiedName* a
ttributeName); |
648 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co
nst HashSet<AtomicString>& attributeFilter); | 648 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co
nst HashSet<AtomicString>& attributeFilter); |
649 void unregisterMutationObserver(MutationObserverRegistration*); | 649 void unregisterMutationObserver(MutationObserverRegistration*); |
650 void registerTransientMutationObserver(MutationObserverRegistration*); | 650 void registerTransientMutationObserver(MutationObserverRegistration*); |
651 void unregisterTransientMutationObserver(MutationObserverRegistration*); | 651 void unregisterTransientMutationObserver(MutationObserverRegistration*); |
652 void notifyMutationObserversNodeWillDetach(); | 652 void notifyMutationObserversNodeWillDetach(); |
653 | 653 |
654 virtual void registerScopedHTMLStyleChild(); | |
655 virtual void unregisterScopedHTMLStyleChild(); | |
656 size_t numberOfScopedHTMLStyleChildren() const; | |
657 | |
658 unsigned connectedSubframeCount() const; | 654 unsigned connectedSubframeCount() const; |
659 void incrementConnectedSubframeCount(unsigned amount = 1); | 655 void incrementConnectedSubframeCount(unsigned amount = 1); |
660 void decrementConnectedSubframeCount(unsigned amount = 1); | 656 void decrementConnectedSubframeCount(unsigned amount = 1); |
661 void updateAncestorConnectedSubframeCountForRemoval() const; | 657 void updateAncestorConnectedSubframeCountForRemoval() const; |
662 void updateAncestorConnectedSubframeCountForInsertion() const; | 658 void updateAncestorConnectedSubframeCountForInsertion() const; |
663 | 659 |
664 PassRefPtr<NodeList> getDestinationInsertionPoints(); | 660 PassRefPtr<NodeList> getDestinationInsertionPoints(); |
665 | 661 |
666 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl
ag); } | 662 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl
ag); } |
667 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } | 663 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 } // namespace WebCore | 898 } // namespace WebCore |
903 | 899 |
904 #ifndef NDEBUG | 900 #ifndef NDEBUG |
905 // Outside the WebCore namespace for ease of invocation from gdb. | 901 // Outside the WebCore namespace for ease of invocation from gdb. |
906 void showNode(const WebCore::Node*); | 902 void showNode(const WebCore::Node*); |
907 void showTree(const WebCore::Node*); | 903 void showTree(const WebCore::Node*); |
908 void showNodePath(const WebCore::Node*); | 904 void showNodePath(const WebCore::Node*); |
909 #endif | 905 #endif |
910 | 906 |
911 #endif | 907 #endif |
OLD | NEW |