Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Side by Side Diff: Source/core/dom/Node.h

Issue 948793003: Fix inconsistent frame detach behavior of ContainerNode::parserRemoveChild. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 void getRegisteredMutationObserversOfType(WillBeHeapHashMap<RawPtrWillBeMemb er<MutationObserver>, MutationRecordDeliveryOptions>&, MutationObserver::Mutatio nType, const QualifiedName* attributeName); 652 void getRegisteredMutationObserversOfType(WillBeHeapHashMap<RawPtrWillBeMemb er<MutationObserver>, MutationRecordDeliveryOptions>&, MutationObserver::Mutatio nType, const QualifiedName* attributeName);
653 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co nst HashSet<AtomicString>& attributeFilter); 653 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co nst HashSet<AtomicString>& attributeFilter);
654 void unregisterMutationObserver(MutationObserverRegistration*); 654 void unregisterMutationObserver(MutationObserverRegistration*);
655 void registerTransientMutationObserver(MutationObserverRegistration*); 655 void registerTransientMutationObserver(MutationObserverRegistration*);
656 void unregisterTransientMutationObserver(MutationObserverRegistration*); 656 void unregisterTransientMutationObserver(MutationObserverRegistration*);
657 void notifyMutationObserversNodeWillDetach(); 657 void notifyMutationObserversNodeWillDetach();
658 658
659 unsigned connectedSubframeCount() const; 659 unsigned connectedSubframeCount() const;
660 void incrementConnectedSubframeCount(unsigned amount = 1); 660 void incrementConnectedSubframeCount(unsigned amount = 1);
661 void decrementConnectedSubframeCount(unsigned amount = 1); 661 void decrementConnectedSubframeCount(unsigned amount = 1);
662 void updateAncestorConnectedSubframeCountForRemoval() const;
663 void updateAncestorConnectedSubframeCountForInsertion() const; 662 void updateAncestorConnectedSubframeCountForInsertion() const;
664 663
665 PassRefPtrWillBeRawPtr<StaticNodeList> getDestinationInsertionPoints(); 664 PassRefPtrWillBeRawPtr<StaticNodeList> getDestinationInsertionPoints();
666 665
667 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl ag); } 666 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl ag); }
668 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } 667 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); }
669 668
670 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi ldrenFlag); } 669 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi ldrenFlag); }
671 670
672 virtual void trace(Visitor*) override; 671 virtual void trace(Visitor*) override;
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 } // namespace blink 902 } // namespace blink
904 903
905 #ifndef NDEBUG 904 #ifndef NDEBUG
906 // Outside the WebCore namespace for ease of invocation from gdb. 905 // Outside the WebCore namespace for ease of invocation from gdb.
907 void showNode(const blink::Node*); 906 void showNode(const blink::Node*);
908 void showTree(const blink::Node*); 907 void showTree(const blink::Node*);
909 void showNodePath(const blink::Node*); 908 void showNodePath(const blink::Node*);
910 #endif 909 #endif
911 910
912 #endif // Node_h 911 #endif // Node_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698