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

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

Issue 2666873005: Implement aria-modal (Closed)
Patch Set: Created 3 years, 11 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 ae78fdf3474c87aa3c512fd20b22a29f32b7f595..8d0abccd994d975d4ff0c77dcdbc3d01e0779a40 100644
--- a/third_party/WebKit/Source/web/WebAXObject.cpp
+++ b/third_party/WebKit/Source/web/WebAXObject.cpp
@@ -358,6 +358,13 @@ bool WebAXObject::isLoaded() const {
return m_private->isLoaded();
}
+bool WebAXObject::isModal() const {
+ if (isDetached())
+ return false;
+
+ return m_private->isModal();
+}
+
bool WebAXObject::isMultiSelectable() const {
if (isDetached())
return false;

Powered by Google App Engine
This is Rietveld 408576698