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

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

Issue 1511523002: Align HTMLImageElement relevant mutations to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix removal issue when a text node is between <source> and <img> Created 5 years 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
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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 }; 570 };
571 571
572 virtual InsertionNotificationRequest insertedInto(ContainerNode* insertionPo int); 572 virtual InsertionNotificationRequest insertedInto(ContainerNode* insertionPo int);
573 virtual void didNotifySubtreeInsertionsToDocument() { } 573 virtual void didNotifySubtreeInsertionsToDocument() { }
574 574
575 // Notifies the node that it is no longer part of the tree. 575 // Notifies the node that it is no longer part of the tree.
576 // 576 //
577 // This is a dual of insertedInto(), and is similar to the DOMNodeRemovedFro mDocument DOM event, but does not require the overhead of event 577 // This is a dual of insertedInto(), and is similar to the DOMNodeRemovedFro mDocument DOM event, but does not require the overhead of event
578 // dispatching, and is called _after_ the node is removed from the tree. 578 // dispatching, and is called _after_ the node is removed from the tree.
579 // 579 //
580 virtual void removedFrom(ContainerNode* insertionPoint); 580 virtual void removedFrom(ContainerNode* insertionPoint, Node* next);
581 581
582 // FIXME(dominicc): This method is not debug-only--it is used by 582 // FIXME(dominicc): This method is not debug-only--it is used by
583 // Tracing--rename it to something indicative. 583 // Tracing--rename it to something indicative.
584 String debugName() const; 584 String debugName() const;
585 585
586 #ifndef NDEBUG 586 #ifndef NDEBUG
587 virtual void formatForDebugger(char* buffer, unsigned length) const; 587 virtual void formatForDebugger(char* buffer, unsigned length) const;
588 588
589 void showNode(const char* prefix = "") const; 589 void showNode(const char* prefix = "") const;
590 void showTreeForThis() const; 590 void showTreeForThis() const;
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 } // namespace blink 912 } // namespace blink
913 913
914 #ifndef NDEBUG 914 #ifndef NDEBUG
915 // Outside the WebCore namespace for ease of invocation from gdb. 915 // Outside the WebCore namespace for ease of invocation from gdb.
916 void showNode(const blink::Node*); 916 void showNode(const blink::Node*);
917 void showTree(const blink::Node*); 917 void showTree(const blink::Node*);
918 void showNodePath(const blink::Node*); 918 void showNodePath(const blink::Node*);
919 #endif 919 #endif
920 920
921 #endif // Node_h 921 #endif // Node_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698