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

Unified Diff: Source/web/WebAXObject.cpp

Issue 1156353003: Added ability to distinguished between rich and plain text editables on accessibility objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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: Source/web/WebAXObject.cpp
diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp
index 92be6de0e4d73a47af21c8f07de6fb52c2778158..8441bd2430beaef409b6429aa6a0dd8387a2138c 100644
--- a/Source/web/WebAXObject.cpp
+++ b/Source/web/WebAXObject.cpp
@@ -536,6 +536,14 @@ bool WebAXObject::isMultiline() const
return m_private->isMultiline();
}
+bool WebAXObject::hasRichText() const
+{
+ if (isDetached())
+ return false;
+
+ return m_private->hasRichText();
+}
+
int WebAXObject::posInSet() const
{
if (isDetached())

Powered by Google App Engine
This is Rietveld 408576698