Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1079)

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXObject.cpp

Issue 1713723002: Implement accessibility support for CSS-transformed iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed another skia dependency Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 for (const auto& child : m_children) 1078 for (const auto& child : m_children)
1079 child->markCachedElementRectDirty(); 1079 child->markCachedElementRectDirty();
1080 } 1080 }
1081 1081
1082 IntPoint AXObject::clickPoint() 1082 IntPoint AXObject::clickPoint()
1083 { 1083 {
1084 LayoutRect rect = elementRect(); 1084 LayoutRect rect = elementRect();
1085 return roundedIntPoint(LayoutPoint(rect.x() + rect.width() / 2, rect.y() + r ect.height() / 2)); 1085 return roundedIntPoint(LayoutPoint(rect.x() + rect.width() / 2, rect.y() + r ect.height() / 2));
1086 } 1086 }
1087 1087
1088 SkMatrix44 AXObject::localFrameRootTransform() const
1089 {
1090 return SkMatrix44();
1091 }
1092
1088 IntRect AXObject::boundingBoxForQuads(LayoutObject* obj, const Vector<FloatQuad> & quads) 1093 IntRect AXObject::boundingBoxForQuads(LayoutObject* obj, const Vector<FloatQuad> & quads)
1089 { 1094 {
1090 ASSERT(obj); 1095 ASSERT(obj);
1091 if (!obj) 1096 if (!obj)
1092 return IntRect(); 1097 return IntRect();
1093 1098
1094 size_t count = quads.size(); 1099 size_t count = quads.size();
1095 if (!count) 1100 if (!count)
1096 return IntRect(); 1101 return IntRect();
1097 1102
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
1688 1693
1689 DEFINE_TRACE(AXObject) 1694 DEFINE_TRACE(AXObject)
1690 { 1695 {
1691 visitor->trace(m_children); 1696 visitor->trace(m_children);
1692 visitor->trace(m_parent); 1697 visitor->trace(m_parent);
1693 visitor->trace(m_cachedLiveRegionRoot); 1698 visitor->trace(m_cachedLiveRegionRoot);
1694 visitor->trace(m_axObjectCache); 1699 visitor->trace(m_axObjectCache);
1695 } 1700 }
1696 1701
1697 } // namespace blink 1702 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698