| 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 15 matching lines...) Expand all Loading... |
| 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/AXTableColumn.h" | 30 #include "core/accessibility/AXTableColumn.h" |
| 31 | 31 |
| 32 #include "core/accessibility/AXObjectCache.h" | 32 #include "core/accessibility/AXObjectCache.h" |
| 33 #include "core/accessibility/AXTableCell.h" | 33 #include "core/accessibility/AXTableCell.h" |
| 34 #include "core/rendering/RenderTableCell.h" | 34 #include "core/rendering/RenderTableCell.h" |
| 35 | 35 |
| 36 using namespace std; | |
| 37 | 36 |
| 38 namespace WebCore { | 37 namespace WebCore { |
| 39 | 38 |
| 40 using namespace HTMLNames; | 39 using namespace HTMLNames; |
| 41 | 40 |
| 42 AXTableColumn::AXTableColumn() | 41 AXTableColumn::AXTableColumn() |
| 43 { | 42 { |
| 44 } | 43 } |
| 45 | 44 |
| 46 AXTableColumn::~AXTableColumn() | 45 AXTableColumn::~AXTableColumn() |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 // make sure the last one isn't the same as this one (rowspan cells) | 175 // make sure the last one isn't the same as this one (rowspan cells) |
| 177 if (m_children.size() > 0 && m_children.last() == cell) | 176 if (m_children.size() > 0 && m_children.last() == cell) |
| 178 continue; | 177 continue; |
| 179 | 178 |
| 180 m_children.append(cell); | 179 m_children.append(cell); |
| 181 m_columnRect.unite(cell->elementRect()); | 180 m_columnRect.unite(cell->elementRect()); |
| 182 } | 181 } |
| 183 } | 182 } |
| 184 | 183 |
| 185 } // namespace WebCore | 184 } // namespace WebCore |
| OLD | NEW |