| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 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 13 matching lines...) Expand all Loading... |
| 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 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/AXARIAGridRow.h" | 30 #include "core/accessibility/AXARIAGridRow.h" |
| 31 | 31 |
| 32 #include "core/accessibility/AXTable.h" | 32 #include "core/accessibility/AXTable.h" |
| 33 | 33 |
| 34 using namespace std; | |
| 35 | 34 |
| 36 namespace WebCore { | 35 namespace WebCore { |
| 37 | 36 |
| 38 AXARIAGridRow::AXARIAGridRow(RenderObject* renderer) | 37 AXARIAGridRow::AXARIAGridRow(RenderObject* renderer) |
| 39 : AXTableRow(renderer) | 38 : AXTableRow(renderer) |
| 40 { | 39 { |
| 41 } | 40 } |
| 42 | 41 |
| 43 AXARIAGridRow::~AXARIAGridRow() | 42 AXARIAGridRow::~AXARIAGridRow() |
| 44 { | 43 { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 for (unsigned i = 0; i < childrenCount; ++i) { | 120 for (unsigned i = 0; i < childrenCount; ++i) { |
| 122 AXObject* cell = rowChildren[i].get(); | 121 AXObject* cell = rowChildren[i].get(); |
| 123 if (cell->ariaRoleAttribute() == RowHeaderRole) | 122 if (cell->ariaRoleAttribute() == RowHeaderRole) |
| 124 return cell; | 123 return cell; |
| 125 } | 124 } |
| 126 | 125 |
| 127 return 0; | 126 return 0; |
| 128 } | 127 } |
| 129 | 128 |
| 130 } // namespace WebCore | 129 } // namespace WebCore |
| OLD | NEW |