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/AXTableRow.h" | 30 #include "core/accessibility/AXTableRow.h" |
31 | 31 |
32 #include "core/accessibility/AXTableCell.h" | 32 #include "core/accessibility/AXTableCell.h" |
33 #include "core/rendering/RenderTableRow.h" | 33 #include "core/rendering/RenderTableRow.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 AXTableRow::AXTableRow(RenderObject* renderer) | 40 AXTableRow::AXTableRow(RenderObject* renderer) |
42 : AXRenderObject(renderer) | 41 : AXRenderObject(renderer) |
43 { | 42 { |
44 } | 43 } |
45 | 44 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 return 0; | 122 return 0; |
124 | 123 |
125 Node* cellNode = cellRenderer->node(); | 124 Node* cellNode = cellRenderer->node(); |
126 if (!cellNode || !cellNode->hasTagName(thTag)) | 125 if (!cellNode || !cellNode->hasTagName(thTag)) |
127 return 0; | 126 return 0; |
128 | 127 |
129 return cell; | 128 return cell; |
130 } | 129 } |
131 | 130 |
132 } // namespace WebCore | 131 } // namespace WebCore |
OLD | NEW |