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

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: Fix gn build Created 4 years, 8 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 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObject.h ('k') | third_party/WebKit/Source/web/WebAXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698