| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 if (!row->accessibilityIsIgnored()) | 68 if (!row->accessibilityIsIgnored()) |
| 69 m_children.push_back(row); | 69 m_children.push_back(row); |
| 70 else | 70 else |
| 71 m_children.appendVector(row->children()); | 71 m_children.appendVector(row->children()); |
| 72 | 72 |
| 73 appendedRows.insert(row); | 73 appendedRows.insert(row); |
| 74 return true; | 74 return true; |
| 75 } | 75 } |
| 76 | 76 |
| 77 void AXARIAGrid::addChildren() { | 77 void AXARIAGrid::addChildren() { |
| 78 ASSERT(!isDetached()); | 78 DCHECK(!isDetached()); |
| 79 ASSERT(!m_haveChildren); | 79 DCHECK(!m_haveChildren); |
| 80 | 80 |
| 81 if (!isAXTable()) { | 81 if (!isAXTable()) { |
| 82 AXLayoutObject::addChildren(); | 82 AXLayoutObject::addChildren(); |
| 83 return; | 83 return; |
| 84 } | 84 } |
| 85 | 85 |
| 86 m_haveChildren = true; | 86 m_haveChildren = true; |
| 87 if (!m_layoutObject) | 87 if (!m_layoutObject) |
| 88 return; | 88 return; |
| 89 | 89 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 if (!column->accessibilityIsIgnored()) | 122 if (!column->accessibilityIsIgnored()) |
| 123 m_children.push_back(column); | 123 m_children.push_back(column); |
| 124 } | 124 } |
| 125 | 125 |
| 126 AXObject* headerContainerObject = headerContainer(); | 126 AXObject* headerContainerObject = headerContainer(); |
| 127 if (headerContainerObject && !headerContainerObject->accessibilityIsIgnored()) | 127 if (headerContainerObject && !headerContainerObject->accessibilityIsIgnored()) |
| 128 m_children.push_back(headerContainerObject); | 128 m_children.push_back(headerContainerObject); |
| 129 } | 129 } |
| 130 | 130 |
| 131 } // namespace blink | 131 } // namespace blink |
| OLD | NEW |