| 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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 442     if (m_headerContainer) | 442     if (m_headerContainer) | 
| 443         return m_headerContainer.get(); | 443         return m_headerContainer.get(); | 
| 444 | 444 | 
| 445     AXMockObject* tableHeader = toAXMockObject(axObjectCache()->getOrCreate(Tabl
     eHeaderContainerRole)); | 445     AXMockObject* tableHeader = toAXMockObject(axObjectCache()->getOrCreate(Tabl
     eHeaderContainerRole)); | 
| 446     tableHeader->setParent(this); | 446     tableHeader->setParent(this); | 
| 447 | 447 | 
| 448     m_headerContainer = tableHeader; | 448     m_headerContainer = tableHeader; | 
| 449     return m_headerContainer.get(); | 449     return m_headerContainer.get(); | 
| 450 } | 450 } | 
| 451 | 451 | 
| 452 AXObject::AccessibilityChildrenVector& AXTable::columns() | 452 const AXObject::AccessibilityChildrenVector& AXTable::columns() | 
| 453 { | 453 { | 
| 454     updateChildrenIfNecessary(); | 454     updateChildrenIfNecessary(); | 
| 455 | 455 | 
| 456     return m_columns; | 456     return m_columns; | 
| 457 } | 457 } | 
| 458 | 458 | 
| 459 AXObject::AccessibilityChildrenVector& AXTable::rows() | 459 const AXObject::AccessibilityChildrenVector& AXTable::rows() | 
| 460 { | 460 { | 
| 461     updateChildrenIfNecessary(); | 461     updateChildrenIfNecessary(); | 
| 462 | 462 | 
| 463     return m_rows; | 463     return m_rows; | 
| 464 } | 464 } | 
| 465 | 465 | 
| 466 void AXTable::columnHeaders(AccessibilityChildrenVector& headers) | 466 void AXTable::columnHeaders(AccessibilityChildrenVector& headers) | 
| 467 { | 467 { | 
| 468     if (!m_renderer) | 468     if (!m_renderer) | 
| 469         return; | 469         return; | 
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 587     } | 587     } | 
| 588 | 588 | 
| 589     // try the standard | 589     // try the standard | 
| 590     if (title.isEmpty()) | 590     if (title.isEmpty()) | 
| 591         title = AXRenderObject::title(); | 591         title = AXRenderObject::title(); | 
| 592 | 592 | 
| 593     return title; | 593     return title; | 
| 594 } | 594 } | 
| 595 | 595 | 
| 596 } // namespace blink | 596 } // namespace blink | 
| OLD | NEW | 
|---|