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

Side by Side Diff: Source/core/html/HTMLFieldSetElement.cpp

Issue 365673002: Pass a struct to ContainerNode::childrenChanged() instead of separate arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove dead code Created 6 years, 5 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, 2005, 2006, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved.
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 } 66 }
67 } 67 }
68 68
69 void HTMLFieldSetElement::disabledAttributeChanged() 69 void HTMLFieldSetElement::disabledAttributeChanged()
70 { 70 {
71 // This element must be updated before the style of nodes in its subtree get s recalculated. 71 // This element must be updated before the style of nodes in its subtree get s recalculated.
72 HTMLFormControlElement::disabledAttributeChanged(); 72 HTMLFormControlElement::disabledAttributeChanged();
73 invalidateDisabledStateUnder(*this); 73 invalidateDisabledStateUnder(*this);
74 } 74 }
75 75
76 void HTMLFieldSetElement::childrenChanged(bool changedByParser, Node* beforeChan ge, Node* afterChange, int childCountDelta) 76 void HTMLFieldSetElement::childrenChanged(const ChildrenChange& change)
77 { 77 {
78 HTMLFormControlElement::childrenChanged(changedByParser, beforeChange, after Change, childCountDelta); 78 HTMLFormControlElement::childrenChanged(change);
79 for (HTMLLegendElement* legend = Traversal<HTMLLegendElement>::firstChild(*t his); legend; legend = Traversal<HTMLLegendElement>::nextSibling(*legend)) 79 for (HTMLLegendElement* legend = Traversal<HTMLLegendElement>::firstChild(*t his); legend; legend = Traversal<HTMLLegendElement>::nextSibling(*legend))
80 invalidateDisabledStateUnder(*legend); 80 invalidateDisabledStateUnder(*legend);
81 } 81 }
82 82
83 bool HTMLFieldSetElement::supportsFocus() const 83 bool HTMLFieldSetElement::supportsFocus() const
84 { 84 {
85 return HTMLElement::supportsFocus(); 85 return HTMLElement::supportsFocus();
86 } 86 }
87 87
88 const AtomicString& HTMLFieldSetElement::formControlType() const 88 const AtomicString& HTMLFieldSetElement::formControlType() const
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 } 129 }
130 } 130 }
131 131
132 const FormAssociatedElement::List& HTMLFieldSetElement::associatedElements() con st 132 const FormAssociatedElement::List& HTMLFieldSetElement::associatedElements() con st
133 { 133 {
134 refreshElementsIfNeeded(); 134 refreshElementsIfNeeded();
135 return m_associatedElements; 135 return m_associatedElements;
136 } 136 }
137 137
138 } // namespace 138 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698