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

Unified Diff: ui/accessibility/platform/ax_platform_node_base.h

Issue 2933353002: Forward four more BrowserAccessibility APIs to AXPlatformNode. (Closed)
Patch Set: Use SkColor.h instead Created 3 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
« no previous file with comments | « ui/accessibility/platform/ax_fake_caret_win.cc ('k') | ui/accessibility/platform/ax_platform_node_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/platform/ax_platform_node_base.h
diff --git a/ui/accessibility/platform/ax_platform_node_base.h b/ui/accessibility/platform/ax_platform_node_base.h
index 4e3c3b04845b3203baa46cc40b65d63925536ca7..17f53c22b37c7c372bc8946c0e23445bd8480807 100644
--- a/ui/accessibility/platform/ax_platform_node_base.h
+++ b/ui/accessibility/platform/ax_platform_node_base.h
@@ -68,6 +68,16 @@ class AX_EXPORT AXPlatformNodeBase : public AXPlatformNode {
AXPlatformNodeBase();
~AXPlatformNodeBase() override;
+ bool IsTextOnlyObject() const;
+ bool IsNativeTextControl() const;
+ bool IsSimpleTextControl() const;
+ bool IsRichTextControl();
+ bool IsRangeValueSupported() const;
+
+ // |GetInnerText| recursively includes all the text from descendants such as
+ // text found in any embedded object.
+ base::string16 GetInnerText();
+
// Cast a gfx::NativeViewAccessible to an AXPlatformNodeBase if it is one,
// or return NULL if it's not an instance of this class.
static AXPlatformNodeBase* FromNativeViewAccessible(
« no previous file with comments | « ui/accessibility/platform/ax_fake_caret_win.cc ('k') | ui/accessibility/platform/ax_platform_node_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698