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

Unified Diff: third_party/WebKit/Source/web/WebAXObject.cpp

Issue 2054393002: Implemented IAccessible2 reverse relations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed content_browsertests. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebAXObject.cpp
diff --git a/third_party/WebKit/Source/web/WebAXObject.cpp b/third_party/WebKit/Source/web/WebAXObject.cpp
index a15c5f952a0649c33832e37d1eb949297a9dc05a..530489a30daea50b8430ee95cc101135c728dd00 100644
--- a/third_party/WebKit/Source/web/WebAXObject.cpp
+++ b/third_party/WebKit/Source/web/WebAXObject.cpp
@@ -600,6 +600,17 @@ WebString WebAXObject::liveRegionStatus() const
return m_private->liveRegionStatus();
}
+WebAXObject WebAXObject::liveRegionRoot() const
+{
+ if (isDetached())
+ return WebAXObject();
+
+ AXObject* liveRegionRoot = m_private->liveRegionRoot();
+ if (liveRegionRoot)
+ return WebAXObject(liveRegionRoot);
+ return WebAXObject();
+}
+
bool WebAXObject::containerLiveRegionAtomic() const
{
if (isDetached())
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObject.cpp ('k') | third_party/WebKit/public/web/WebAXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698