| 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 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 #include "config.h" | 28 #include "config.h" |
| 29 #include "core/html/HTMLSelectElement.h" | 29 #include "core/html/HTMLSelectElement.h" |
| 30 | 30 |
| 31 #include "HTMLNames.h" | 31 #include "HTMLNames.h" |
| 32 #include "bindings/v8/ExceptionState.h" | 32 #include "bindings/v8/ExceptionState.h" |
| 33 #include "bindings/v8/ExceptionStatePlaceholder.h" | 33 #include "bindings/v8/ExceptionStatePlaceholder.h" |
| 34 #include "core/accessibility/AXObjectCache.h" | 34 #include "core/accessibility/AXObjectCache.h" |
| 35 #include "core/dom/Attribute.h" | 35 #include "core/dom/Attribute.h" |
| 36 #include "core/dom/ElementTraversal.h" | 36 #include "core/dom/ElementTraversal.h" |
| 37 #include "core/dom/NodeTraversal.h" |
| 37 #include "core/events/EventNames.h" | 38 #include "core/events/EventNames.h" |
| 38 #include "core/events/KeyboardEvent.h" | 39 #include "core/events/KeyboardEvent.h" |
| 39 #include "core/events/MouseEvent.h" | 40 #include "core/events/MouseEvent.h" |
| 40 #include "core/dom/NodeTraversal.h" | |
| 41 #include "core/html/HTMLFormElement.h" | 41 #include "core/html/HTMLFormElement.h" |
| 42 #include "core/html/HTMLOptGroupElement.h" | 42 #include "core/html/HTMLOptGroupElement.h" |
| 43 #include "core/html/HTMLOptionElement.h" | 43 #include "core/html/HTMLOptionElement.h" |
| 44 #include "core/html/HTMLOptionsCollection.h" | 44 #include "core/html/HTMLOptionsCollection.h" |
| 45 #include "core/html/forms/FormController.h" | 45 #include "core/html/forms/FormController.h" |
| 46 #include "core/page/EventHandler.h" | 46 #include "core/page/EventHandler.h" |
| 47 #include "core/page/Frame.h" | 47 #include "core/page/Frame.h" |
| 48 #include "core/page/Page.h" | 48 #include "core/page/Page.h" |
| 49 #include "core/page/SpatialNavigation.h" | 49 #include "core/page/SpatialNavigation.h" |
| 50 #include "core/platform/PlatformMouseEvent.h" | 50 #include "core/platform/PlatformMouseEvent.h" |
| 51 #include "core/platform/network/FormDataList.h" | 51 #include "core/platform/network/FormDataList.h" |
| 52 #include "core/platform/text/PlatformLocale.h" | |
| 53 #include "core/rendering/RenderListBox.h" | 52 #include "core/rendering/RenderListBox.h" |
| 54 #include "core/rendering/RenderMenuList.h" | 53 #include "core/rendering/RenderMenuList.h" |
| 55 #include "core/rendering/RenderTheme.h" | 54 #include "core/rendering/RenderTheme.h" |
| 55 #include "platform/text/PlatformLocale.h" |
| 56 | 56 |
| 57 using namespace std; | 57 using namespace std; |
| 58 using namespace WTF::Unicode; | 58 using namespace WTF::Unicode; |
| 59 | 59 |
| 60 namespace WebCore { | 60 namespace WebCore { |
| 61 | 61 |
| 62 using namespace HTMLNames; | 62 using namespace HTMLNames; |
| 63 | 63 |
| 64 // Upper limit agreed upon with representatives of Opera and Mozilla. | 64 // Upper limit agreed upon with representatives of Opera and Mozilla. |
| 65 static const unsigned maxSelectItems = 10000; | 65 static const unsigned maxSelectItems = 10000; |
| (...skipping 1506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |