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

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: rebaseline Created 5 years, 9 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
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 void getRegisteredMutationObserversOfType(WillBeHeapHashMap<RawPtrWillBeMemb er<MutationObserver>, MutationRecordDeliveryOptions>&, MutationObserver::Mutatio nType, const QualifiedName* attributeName); 649 void getRegisteredMutationObserversOfType(WillBeHeapHashMap<RawPtrWillBeMemb er<MutationObserver>, MutationRecordDeliveryOptions>&, MutationObserver::Mutatio nType, const QualifiedName* attributeName);
650 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co nst HashSet<AtomicString>& attributeFilter); 650 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co nst HashSet<AtomicString>& attributeFilter);
651 void unregisterMutationObserver(MutationObserverRegistration*); 651 void unregisterMutationObserver(MutationObserverRegistration*);
652 void registerTransientMutationObserver(MutationObserverRegistration*); 652 void registerTransientMutationObserver(MutationObserverRegistration*);
653 void unregisterTransientMutationObserver(MutationObserverRegistration*); 653 void unregisterTransientMutationObserver(MutationObserverRegistration*);
654 void notifyMutationObserversNodeWillDetach(); 654 void notifyMutationObserversNodeWillDetach();
655 655
656 unsigned connectedSubframeCount() const; 656 unsigned connectedSubframeCount() const;
657 void incrementConnectedSubframeCount(unsigned amount = 1); 657 void incrementConnectedSubframeCount(unsigned amount = 1);
658 void decrementConnectedSubframeCount(unsigned amount = 1); 658 void decrementConnectedSubframeCount(unsigned amount = 1);
659 void updateAncestorConnectedSubframeCountForRemoval() const;
660 void updateAncestorConnectedSubframeCountForInsertion() const; 659 void updateAncestorConnectedSubframeCountForInsertion() const;
661 660
662 PassRefPtrWillBeRawPtr<StaticNodeList> getDestinationInsertionPoints(); 661 PassRefPtrWillBeRawPtr<StaticNodeList> getDestinationInsertionPoints();
663 662
664 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl ag); } 663 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl ag); }
665 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } 664 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); }
666 665
667 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi ldrenFlag); } 666 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi ldrenFlag); }
668 667
669 DECLARE_VIRTUAL_TRACE(); 668 DECLARE_VIRTUAL_TRACE();
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 } // namespace blink 899 } // namespace blink
901 900
902 #ifndef NDEBUG 901 #ifndef NDEBUG
903 // Outside the WebCore namespace for ease of invocation from gdb. 902 // Outside the WebCore namespace for ease of invocation from gdb.
904 void showNode(const blink::Node*); 903 void showNode(const blink::Node*);
905 void showTree(const blink::Node*); 904 void showTree(const blink::Node*);
906 void showNodePath(const blink::Node*); 905 void showNodePath(const blink::Node*);
907 #endif 906 #endif
908 907
909 #endif // Node_h 908 #endif // Node_h
OLDNEW
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698