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

Unified Diff: content/browser/accessibility/browser_accessibility_android.h

Issue 67473013: Support KitKat accessibility APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add dummy Mac and Win expectations Created 7 years 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: content/browser/accessibility/browser_accessibility_android.h
diff --git a/content/browser/accessibility/browser_accessibility_android.h b/content/browser/accessibility/browser_accessibility_android.h
index cb882f45ca265a03d3b41c6e651065838777dec1..2968184b53c39c7afe4f49f06bec1cd7c1908c49 100644
--- a/content/browser/accessibility/browser_accessibility_android.h
+++ b/content/browser/accessibility/browser_accessibility_android.h
@@ -21,14 +21,24 @@ class BrowserAccessibilityAndroid : public BrowserAccessibility {
bool IsCheckable() const;
bool IsChecked() const;
bool IsClickable() const;
+ bool IsCollection() const;
+ bool IsCollectionItem() const;
+ bool IsContentInvalid() const;
+ bool IsDismissable() const;
bool IsEnabled() const;
bool IsFocusable() const;
bool IsFocused() const;
+ bool IsHeading() const;
+ bool IsHierarchical() const;
+ bool IsMultiLine() const;
bool IsPassword() const;
+ bool IsRangeType() const;
bool IsScrollable() const;
bool IsSelected() const;
bool IsVisibleToUser() const;
+ bool CanOpenPopup() const;
+
const char* GetClassName() const;
base::string16 GetText() const;
@@ -49,6 +59,22 @@ class BrowserAccessibilityAndroid : public BrowserAccessibility {
int GetSelectionEnd() const;
int GetEditableTextLength() const;
+ int AndroidInputType() const;
+ int AndroidLiveRegionType() const;
+ int AndroidRangeType() const;
+
+ int RowCount() const;
+ int ColumnCount() const;
+
+ int RowIndex() const;
+ int RowSpan() const;
+ int ColumnIndex() const;
+ int ColumnSpan() const;
+
+ float RangeMin() const;
+ float RangeMax() const;
+ float RangeCurrentValue() const;
+
private:
// This gives BrowserAccessibility::Create access to the class constructor.
friend class BrowserAccessibility;
@@ -61,6 +87,8 @@ class BrowserAccessibilityAndroid : public BrowserAccessibility {
void NotifyLiveRegionUpdate(base::string16& aria_live);
+ int CountChildrenWithRole(blink::WebAXRole role) const;
+
base::string16 cached_text_;
bool first_time_;
base::string16 old_value_;

Powered by Google App Engine
This is Rietveld 408576698