OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 14 matching lines...) Expand all Loading... |
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 #include "config.h" | 29 #include "config.h" |
30 #include "core/accessibility/AXList.h" | 30 #include "core/accessibility/AXList.h" |
31 | 31 |
32 #include "core/html/HTMLUListElement.h" | 32 #include "core/html/HTMLUListElement.h" |
33 #include "core/rendering/RenderObject.h" | 33 #include "core/rendering/RenderObject.h" |
34 | 34 |
35 using namespace std; | |
36 | 35 |
37 namespace WebCore { | 36 namespace WebCore { |
38 | 37 |
39 using namespace HTMLNames; | 38 using namespace HTMLNames; |
40 | 39 |
41 AXList::AXList(RenderObject* renderer) | 40 AXList::AXList(RenderObject* renderer) |
42 : AXRenderObject(renderer) | 41 : AXRenderObject(renderer) |
43 { | 42 { |
44 } | 43 } |
45 | 44 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 bool AXList::isDescriptionList() const | 85 bool AXList::isDescriptionList() const |
87 { | 86 { |
88 if (!m_renderer) | 87 if (!m_renderer) |
89 return false; | 88 return false; |
90 | 89 |
91 return isHTMLDListElement(m_renderer->node()); | 90 return isHTMLDListElement(m_renderer->node()); |
92 } | 91 } |
93 | 92 |
94 | 93 |
95 } // namespace WebCore | 94 } // namespace WebCore |
OLD | NEW |