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

Unified Diff: Source/core/rendering/RenderText.cpp

Issue 23983002: Expose InlineTextBoxes in the accessibility tree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 2 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
« no previous file with comments | « Source/core/rendering/RenderText.h ('k') | Source/testing/runner/AccessibilityController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderText.cpp
diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp
index 2e75dc0d7431b43c0cebed810cca948b274082ec..42a0b385f86a84817a5114e6a89aea79c691971a 100644
--- a/Source/core/rendering/RenderText.cpp
+++ b/Source/core/rendering/RenderText.cpp
@@ -30,6 +30,7 @@
#include "core/fetch/TextResourceDecoder.h"
#include "core/frame/FrameView.h"
#include "core/page/Settings.h"
+#include "core/rendering/AbstractInlineTextBox.h"
#include "core/rendering/EllipsisBox.h"
#include "core/rendering/InlineTextBox.h"
#include "core/rendering/RenderBlock.h"
@@ -1829,4 +1830,9 @@ void RenderText::momentarilyRevealLastTypedCharacter(unsigned lastTypedCharacter
secureTextTimer->restartWithNewText(lastTypedCharacterOffset);
}
+PassRefPtr<AbstractInlineTextBox> RenderText::firstAbstractInlineTextBox()
+{
+ return AbstractInlineTextBox::getOrCreate(this, m_firstTextBox);
+}
+
} // namespace WebCore
« no previous file with comments | « Source/core/rendering/RenderText.h ('k') | Source/testing/runner/AccessibilityController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698