| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2011 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 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1559 scrollOffset.height() - innerRect.y()); | 1559 scrollOffset.height() - innerRect.y()); |
| 1560 } else if (inner->isWebArea()) { | 1560 } else if (inner->isWebArea()) { |
| 1561 // Otherwise, if the inner object is a web area, reset the coordinate | 1561 // Otherwise, if the inner object is a web area, reset the coordinate |
| 1562 // transformation. | 1562 // transformation. |
| 1563 offsetX = 0; | 1563 offsetX = 0; |
| 1564 offsetY = 0; | 1564 offsetY = 0; |
| 1565 } | 1565 } |
| 1566 } | 1566 } |
| 1567 } | 1567 } |
| 1568 | 1568 |
| 1569 void AXObject::setSequentialFocusNavigationStartingPoint() { |
| 1570 // Call it on the nearest ancestor that overrides this with a specific |
| 1571 // implementation. |
| 1572 if (parentObject()) |
| 1573 parentObject()->setSequentialFocusNavigationStartingPoint(); |
| 1574 } |
| 1575 |
| 1569 void AXObject::notifyIfIgnoredValueChanged() { | 1576 void AXObject::notifyIfIgnoredValueChanged() { |
| 1570 bool isIgnored = accessibilityIsIgnored(); | 1577 bool isIgnored = accessibilityIsIgnored(); |
| 1571 if (lastKnownIsIgnoredValue() != isIgnored) { | 1578 if (lastKnownIsIgnoredValue() != isIgnored) { |
| 1572 axObjectCache().childrenChanged(parentObject()); | 1579 axObjectCache().childrenChanged(parentObject()); |
| 1573 setLastKnownIsIgnoredValue(isIgnored); | 1580 setLastKnownIsIgnoredValue(isIgnored); |
| 1574 } | 1581 } |
| 1575 } | 1582 } |
| 1576 | 1583 |
| 1577 void AXObject::selectionChanged() { | 1584 void AXObject::selectionChanged() { |
| 1578 if (AXObject* parent = parentObjectIfExists()) | 1585 if (AXObject* parent = parentObjectIfExists()) |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1734 } | 1741 } |
| 1735 | 1742 |
| 1736 DEFINE_TRACE(AXObject) { | 1743 DEFINE_TRACE(AXObject) { |
| 1737 visitor->trace(m_children); | 1744 visitor->trace(m_children); |
| 1738 visitor->trace(m_parent); | 1745 visitor->trace(m_parent); |
| 1739 visitor->trace(m_cachedLiveRegionRoot); | 1746 visitor->trace(m_cachedLiveRegionRoot); |
| 1740 visitor->trace(m_axObjectCache); | 1747 visitor->trace(m_axObjectCache); |
| 1741 } | 1748 } |
| 1742 | 1749 |
| 1743 } // namespace blink | 1750 } // namespace blink |
| OLD | NEW |