OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
4 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 4 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights
reserved. |
7 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 7 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
8 * Copyright (C) 2010 Google Inc. All rights reserved. | 8 * Copyright (C) 2010 Google Inc. All rights reserved. |
9 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 9 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
10 * | 10 * |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 { | 359 { |
360 return static_cast<HTMLOptionsCollection*>(ensureCachedHTMLCollection(Select
Options).get()); | 360 return static_cast<HTMLOptionsCollection*>(ensureCachedHTMLCollection(Select
Options).get()); |
361 } | 361 } |
362 | 362 |
363 void HTMLSelectElement::updateListItemSelectedStates() | 363 void HTMLSelectElement::updateListItemSelectedStates() |
364 { | 364 { |
365 if (m_shouldRecalcListItems) | 365 if (m_shouldRecalcListItems) |
366 recalcListItems(); | 366 recalcListItems(); |
367 } | 367 } |
368 | 368 |
369 void HTMLSelectElement::childrenChanged(bool changedByParser, Node* beforeChange
, Node* afterChange, int childCountDelta) | 369 void HTMLSelectElement::childrenChanged(bool changedByParser, const Handle<Node>
& beforeChange, const Handle<Node>& afterChange, int childCountDelta) |
370 { | 370 { |
371 setRecalcListItems(); | 371 setRecalcListItems(); |
372 setNeedsValidityCheck(); | 372 setNeedsValidityCheck(); |
373 | 373 |
374 HTMLFormControlElementWithState::childrenChanged(changedByParser, beforeChan
ge, afterChange, childCountDelta); | 374 HTMLFormControlElementWithState::childrenChanged(changedByParser, beforeChan
ge, afterChange, childCountDelta); |
375 } | 375 } |
376 | 376 |
377 void HTMLSelectElement::optionElementChildrenChanged() | 377 void HTMLSelectElement::optionElementChildrenChanged() |
378 { | 378 { |
379 setRecalcListItems(); | 379 setRecalcListItems(); |
(...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1574 return options; | 1574 return options; |
1575 } | 1575 } |
1576 | 1576 |
1577 void HTMLSelectElement::accept(Visitor* visitor) const | 1577 void HTMLSelectElement::accept(Visitor* visitor) const |
1578 { | 1578 { |
1579 HTMLFormControlElementWithState::accept(visitor); | 1579 HTMLFormControlElementWithState::accept(visitor); |
1580 visitor->visit(m_listItems); | 1580 visitor->visit(m_listItems); |
1581 } | 1581 } |
1582 | 1582 |
1583 } // namespace | 1583 } // namespace |
OLD | NEW |