| 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/AXTableCell.h" | 30 #include "core/accessibility/AXTableCell.h" |
| 31 | 31 |
| 32 #include "core/accessibility/AXObjectCache.h" | 32 #include "core/accessibility/AXObjectCache.h" |
| 33 #include "core/rendering/RenderTableCell.h" | 33 #include "core/rendering/RenderTableCell.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 AXTableCell::AXTableCell(RenderObject* renderer) | 40 AXTableCell::AXTableCell(RenderObject* renderer) |
| 42 : AXRenderObject(renderer) | 41 : AXRenderObject(renderer) |
| 43 { | 42 { |
| 44 } | 43 } |
| 45 | 44 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 return 0; | 168 return 0; |
| 170 | 169 |
| 171 Node* cellElement = headerCell->node(); | 170 Node* cellElement = headerCell->node(); |
| 172 if (!cellElement || !cellElement->hasTagName(thTag)) | 171 if (!cellElement || !cellElement->hasTagName(thTag)) |
| 173 return 0; | 172 return 0; |
| 174 | 173 |
| 175 return axObjectCache()->getOrCreate(headerCell); | 174 return axObjectCache()->getOrCreate(headerCell); |
| 176 } | 175 } |
| 177 | 176 |
| 178 } // namespace WebCore | 177 } // namespace WebCore |
| OLD | NEW |