| 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 17 matching lines...) Expand all Loading... |
| 28 #include "config.h" | 28 #include "config.h" |
| 29 #include "HTMLSelectElement.h" | 29 #include "HTMLSelectElement.h" |
| 30 | 30 |
| 31 #include "FormController.h" | 31 #include "FormController.h" |
| 32 #include "FormDataList.h" | 32 #include "FormDataList.h" |
| 33 #include "HTMLFormElement.h" | 33 #include "HTMLFormElement.h" |
| 34 #include "HTMLNames.h" | 34 #include "HTMLNames.h" |
| 35 #include "HTMLOptGroupElement.h" | 35 #include "HTMLOptGroupElement.h" |
| 36 #include "HTMLOptionElement.h" | 36 #include "HTMLOptionElement.h" |
| 37 #include "HTMLOptionsCollection.h" | 37 #include "HTMLOptionsCollection.h" |
| 38 #include "ScriptEventListener.h" | 38 #include "bindings/v8/ScriptEventListener.h" |
| 39 #include "core/accessibility/AXObjectCache.h" | 39 #include "core/accessibility/AXObjectCache.h" |
| 40 #include "core/dom/Attribute.h" | 40 #include "core/dom/Attribute.h" |
| 41 #include "core/dom/EventNames.h" | 41 #include "core/dom/EventNames.h" |
| 42 #include "core/dom/ExceptionCodePlaceholder.h" | 42 #include "core/dom/ExceptionCodePlaceholder.h" |
| 43 #include "core/dom/KeyboardEvent.h" | 43 #include "core/dom/KeyboardEvent.h" |
| 44 #include "core/dom/MouseEvent.h" | 44 #include "core/dom/MouseEvent.h" |
| 45 #include "core/dom/NodeRenderingContext.h" | 45 #include "core/dom/NodeRenderingContext.h" |
| 46 #include "core/dom/NodeTraversal.h" | 46 #include "core/dom/NodeTraversal.h" |
| 47 #include "core/page/Chrome.h" | 47 #include "core/page/Chrome.h" |
| 48 #include "core/page/ChromeClient.h" | 48 #include "core/page/ChromeClient.h" |
| (...skipping 1508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1557 const Vector<HTMLElement*>& items = listItems(); | 1557 const Vector<HTMLElement*>& items = listItems(); |
| 1558 for (unsigned i = 0; i < items.size(); ++i) { | 1558 for (unsigned i = 0; i < items.size(); ++i) { |
| 1559 if (items[i]->hasTagName(optionTag)) | 1559 if (items[i]->hasTagName(optionTag)) |
| 1560 ++options; | 1560 ++options; |
| 1561 } | 1561 } |
| 1562 | 1562 |
| 1563 return options; | 1563 return options; |
| 1564 } | 1564 } |
| 1565 | 1565 |
| 1566 } // namespace | 1566 } // namespace |
| OLD | NEW |