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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 | 372 |
373 void recalcDistribution(); | 373 void recalcDistribution(); |
374 | 374 |
375 bool needsLayerUpdate() const { return getFlag(NeedsLayerUpdateFlag); } | 375 bool needsLayerUpdate() const { return getFlag(NeedsLayerUpdateFlag); } |
376 void setNeedsLayerUpdate() { setFlag(NeedsLayerUpdateFlag); } | 376 void setNeedsLayerUpdate() { setFlag(NeedsLayerUpdateFlag); } |
377 void clearNeedsLayerUpdate() { clearFlag(NeedsLayerUpdateFlag); } | 377 void clearNeedsLayerUpdate() { clearFlag(NeedsLayerUpdateFlag); } |
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) { ASSERT(isShadowRoot()); setFlag
(flag, HasScopedHTMLStyleChildFlag); } |
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); } |
388 void markV8CollectableDuringMinorGC() { setFlag(true, V8CollectableDuringMin
orGCFlag); } | 388 void markV8CollectableDuringMinorGC() { setFlag(true, V8CollectableDuringMin
orGCFlag); } |
389 void clearV8CollectableDuringMinorGC() { setFlag(false, V8CollectableDuringM
inorGCFlag); } | 389 void clearV8CollectableDuringMinorGC() { setFlag(false, V8CollectableDuringM
inorGCFlag); } |
390 | 390 |
391 virtual void setFocus(bool flag); | 391 virtual void setFocus(bool flag); |
392 virtual void setActive(bool flag = true); | 392 virtual void setActive(bool flag = true); |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 virtual EventTargetData* eventTargetData() OVERRIDE; | 648 virtual EventTargetData* eventTargetData() OVERRIDE; |
649 virtual EventTargetData& ensureEventTargetData() OVERRIDE; | 649 virtual EventTargetData& ensureEventTargetData() OVERRIDE; |
650 | 650 |
651 void getRegisteredMutationObserversOfType(WillBeHeapHashMap<RawPtrWillBeMemb
er<MutationObserver>, MutationRecordDeliveryOptions>&, MutationObserver::Mutatio
nType, const QualifiedName* attributeName); | 651 void getRegisteredMutationObserversOfType(WillBeHeapHashMap<RawPtrWillBeMemb
er<MutationObserver>, MutationRecordDeliveryOptions>&, MutationObserver::Mutatio
nType, const QualifiedName* attributeName); |
652 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co
nst HashSet<AtomicString>& attributeFilter); | 652 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co
nst HashSet<AtomicString>& attributeFilter); |
653 void unregisterMutationObserver(MutationObserverRegistration*); | 653 void unregisterMutationObserver(MutationObserverRegistration*); |
654 void registerTransientMutationObserver(MutationObserverRegistration*); | 654 void registerTransientMutationObserver(MutationObserverRegistration*); |
655 void unregisterTransientMutationObserver(MutationObserverRegistration*); | 655 void unregisterTransientMutationObserver(MutationObserverRegistration*); |
656 void notifyMutationObserversNodeWillDetach(); | 656 void notifyMutationObserversNodeWillDetach(); |
657 | 657 |
658 virtual void registerScopedHTMLStyleChild(); | |
659 virtual void unregisterScopedHTMLStyleChild(); | |
660 size_t numberOfScopedHTMLStyleChildren() const; | |
661 | |
662 unsigned connectedSubframeCount() const; | 658 unsigned connectedSubframeCount() const; |
663 void incrementConnectedSubframeCount(unsigned amount = 1); | 659 void incrementConnectedSubframeCount(unsigned amount = 1); |
664 void decrementConnectedSubframeCount(unsigned amount = 1); | 660 void decrementConnectedSubframeCount(unsigned amount = 1); |
665 void updateAncestorConnectedSubframeCountForRemoval() const; | 661 void updateAncestorConnectedSubframeCountForRemoval() const; |
666 void updateAncestorConnectedSubframeCountForInsertion() const; | 662 void updateAncestorConnectedSubframeCountForInsertion() const; |
667 | 663 |
668 PassRefPtrWillBeRawPtr<NodeList> getDestinationInsertionPoints(); | 664 PassRefPtrWillBeRawPtr<NodeList> getDestinationInsertionPoints(); |
669 | 665 |
670 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl
ag); } | 666 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl
ag); } |
671 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } | 667 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
914 } // namespace WebCore | 910 } // namespace WebCore |
915 | 911 |
916 #ifndef NDEBUG | 912 #ifndef NDEBUG |
917 // Outside the WebCore namespace for ease of invocation from gdb. | 913 // Outside the WebCore namespace for ease of invocation from gdb. |
918 void showNode(const WebCore::Node*); | 914 void showNode(const WebCore::Node*); |
919 void showTree(const WebCore::Node*); | 915 void showTree(const WebCore::Node*); |
920 void showNodePath(const WebCore::Node*); | 916 void showNodePath(const WebCore::Node*); |
921 #endif | 917 #endif |
922 | 918 |
923 #endif | 919 #endif |
OLD | NEW |