| 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 16 matching lines...) Expand all Loading... |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #include "config.h" | 29 #include "config.h" |
| 30 #include "core/accessibility/AXListBox.h" | 30 #include "core/accessibility/AXListBox.h" |
| 31 | 31 |
| 32 #include "core/accessibility/AXListBoxOption.h" | 32 #include "core/accessibility/AXListBoxOption.h" |
| 33 #include "core/accessibility/AXObjectCache.h" | 33 #include "core/accessibility/AXObjectCache.h" |
| 34 #include "core/html/HTMLSelectElement.h" | 34 #include "core/html/HTMLSelectElement.h" |
| 35 #include "core/rendering/RenderListBox.h" | 35 #include "core/rendering/RenderListBox.h" |
| 36 | 36 |
| 37 using namespace std; | |
| 38 | 37 |
| 39 namespace WebCore { | 38 namespace WebCore { |
| 40 | 39 |
| 41 using namespace HTMLNames; | 40 using namespace HTMLNames; |
| 42 | 41 |
| 43 AXListBox::AXListBox(RenderObject* renderer) | 42 AXListBox::AXListBox(RenderObject* renderer) |
| 44 : AXRenderObject(renderer) | 43 : AXRenderObject(renderer) |
| 45 { | 44 { |
| 46 } | 45 } |
| 47 | 46 |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 } | 159 } |
| 161 } | 160 } |
| 162 | 161 |
| 163 if (listBoxOption && !listBoxOption->accessibilityIsIgnored()) | 162 if (listBoxOption && !listBoxOption->accessibilityIsIgnored()) |
| 164 return listBoxOption; | 163 return listBoxOption; |
| 165 | 164 |
| 166 return axObjectCache()->getOrCreate(m_renderer); | 165 return axObjectCache()->getOrCreate(m_renderer); |
| 167 } | 166 } |
| 168 | 167 |
| 169 } // namespace WebCore | 168 } // namespace WebCore |
| OLD | NEW |