| 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 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1075 for (const auto& child : m_children) | 1075 for (const auto& child : m_children) |
| 1076 child->markCachedElementRectDirty(); | 1076 child->markCachedElementRectDirty(); |
| 1077 } | 1077 } |
| 1078 | 1078 |
| 1079 IntPoint AXObject::clickPoint() | 1079 IntPoint AXObject::clickPoint() |
| 1080 { | 1080 { |
| 1081 LayoutRect rect = elementRect(); | 1081 LayoutRect rect = elementRect(); |
| 1082 return roundedIntPoint(LayoutPoint(rect.x() + rect.width() / 2, rect.y() + r
ect.height() / 2)); | 1082 return roundedIntPoint(LayoutPoint(rect.x() + rect.width() / 2, rect.y() + r
ect.height() / 2)); |
| 1083 } | 1083 } |
| 1084 | 1084 |
| 1085 SkMatrix44 AXObject::transformFromLocalParentFrame() const |
| 1086 { |
| 1087 return SkMatrix44(); |
| 1088 } |
| 1089 |
| 1085 IntRect AXObject::boundingBoxForQuads(LayoutObject* obj, const Vector<FloatQuad>
& quads) | 1090 IntRect AXObject::boundingBoxForQuads(LayoutObject* obj, const Vector<FloatQuad>
& quads) |
| 1086 { | 1091 { |
| 1087 ASSERT(obj); | 1092 ASSERT(obj); |
| 1088 if (!obj) | 1093 if (!obj) |
| 1089 return IntRect(); | 1094 return IntRect(); |
| 1090 | 1095 |
| 1091 size_t count = quads.size(); | 1096 size_t count = quads.size(); |
| 1092 if (!count) | 1097 if (!count) |
| 1093 return IntRect(); | 1098 return IntRect(); |
| 1094 | 1099 |
| (...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1685 | 1690 |
| 1686 DEFINE_TRACE(AXObject) | 1691 DEFINE_TRACE(AXObject) |
| 1687 { | 1692 { |
| 1688 visitor->trace(m_children); | 1693 visitor->trace(m_children); |
| 1689 visitor->trace(m_parent); | 1694 visitor->trace(m_parent); |
| 1690 visitor->trace(m_cachedLiveRegionRoot); | 1695 visitor->trace(m_cachedLiveRegionRoot); |
| 1691 visitor->trace(m_axObjectCache); | 1696 visitor->trace(m_axObjectCache); |
| 1692 } | 1697 } |
| 1693 | 1698 |
| 1694 } // namespace blink | 1699 } // namespace blink |
| OLD | NEW |