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 25 matching lines...) Expand all Loading... |
36 #include "ExceptionCodePlaceholder.h" | 36 #include "ExceptionCodePlaceholder.h" |
37 #include "FormController.h" | 37 #include "FormController.h" |
38 #include "FormDataList.h" | 38 #include "FormDataList.h" |
39 #include "Frame.h" | 39 #include "Frame.h" |
40 #include "HTMLFormElement.h" | 40 #include "HTMLFormElement.h" |
41 #include "HTMLNames.h" | 41 #include "HTMLNames.h" |
42 #include "HTMLOptGroupElement.h" | 42 #include "HTMLOptGroupElement.h" |
43 #include "HTMLOptionElement.h" | 43 #include "HTMLOptionElement.h" |
44 #include "HTMLOptionsCollection.h" | 44 #include "HTMLOptionsCollection.h" |
45 #include "KeyboardEvent.h" | 45 #include "KeyboardEvent.h" |
46 #include "LocalizedStrings.h" | |
47 #include "MouseEvent.h" | 46 #include "MouseEvent.h" |
48 #include "NodeRenderingContext.h" | 47 #include "NodeRenderingContext.h" |
49 #include "NodeTraversal.h" | 48 #include "NodeTraversal.h" |
50 #include "Page.h" | 49 #include "Page.h" |
51 #include "PlatformMouseEvent.h" | |
52 #include "RenderListBox.h" | 50 #include "RenderListBox.h" |
53 #include "RenderMenuList.h" | 51 #include "RenderMenuList.h" |
54 #include "RenderTheme.h" | 52 #include "RenderTheme.h" |
55 #include "ScriptEventListener.h" | 53 #include "ScriptEventListener.h" |
56 #include "SpatialNavigation.h" | 54 #include "SpatialNavigation.h" |
57 #include "core/accessibility/AXObjectCache.h" | 55 #include "core/accessibility/AXObjectCache.h" |
| 56 #include "core/platform/LocalizedStrings.h" |
| 57 #include "core/platform/PlatformMouseEvent.h" |
58 #include <wtf/text/StringBuilder.h> | 58 #include <wtf/text/StringBuilder.h> |
59 #include <wtf/unicode/Unicode.h> | 59 #include <wtf/unicode/Unicode.h> |
60 | 60 |
61 using namespace std; | 61 using namespace std; |
62 using namespace WTF::Unicode; | 62 using namespace WTF::Unicode; |
63 | 63 |
64 namespace WebCore { | 64 namespace WebCore { |
65 | 65 |
66 using namespace HTMLNames; | 66 using namespace HTMLNames; |
67 | 67 |
(...skipping 1489 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 |