| 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 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1558 void HTMLSelectElement::finishParsingChildren() | 1558 void HTMLSelectElement::finishParsingChildren() |
| 1559 { | 1559 { |
| 1560 HTMLFormControlElementWithState::finishParsingChildren(); | 1560 HTMLFormControlElementWithState::finishParsingChildren(); |
| 1561 m_isParsingInProgress = false; | 1561 m_isParsingInProgress = false; |
| 1562 updateListItemSelectedStates(); | 1562 updateListItemSelectedStates(); |
| 1563 } | 1563 } |
| 1564 | 1564 |
| 1565 bool HTMLSelectElement::anonymousIndexedSetter(unsigned index, PassRefPtr<HTMLOp
tionElement> value, ExceptionState& es) | 1565 bool HTMLSelectElement::anonymousIndexedSetter(unsigned index, PassRefPtr<HTMLOp
tionElement> value, ExceptionState& es) |
| 1566 { | 1566 { |
| 1567 if (!value) { | 1567 if (!value) { |
| 1568 es.throwDOMException(TypeMismatchError); | 1568 es.throwUninformativeAndGenericDOMException(TypeMismatchError); |
| 1569 return false; | 1569 return false; |
| 1570 } | 1570 } |
| 1571 setOption(index, value.get(), es); | 1571 setOption(index, value.get(), es); |
| 1572 return true; | 1572 return true; |
| 1573 } | 1573 } |
| 1574 | 1574 |
| 1575 bool HTMLSelectElement::anonymousIndexedSetterRemove(unsigned index, ExceptionSt
ate& es) | 1575 bool HTMLSelectElement::anonymousIndexedSetterRemove(unsigned index, ExceptionSt
ate& es) |
| 1576 { | 1576 { |
| 1577 remove(index); | 1577 remove(index); |
| 1578 return true; | 1578 return true; |
| 1579 } | 1579 } |
| 1580 | 1580 |
| 1581 } // namespace | 1581 } // namespace |
| OLD | NEW |