| 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 09681c439324da6170ad5e8dc91e064313c37a0c..6942bb65644dbd4318f40d062631590bb4e892a2 100644
|
| --- a/content/browser/accessibility/browser_accessibility_android.h
|
| +++ b/content/browser/accessibility/browser_accessibility_android.h
|
| @@ -48,6 +48,18 @@ class CONTENT_EXPORT BrowserAccessibilityAndroid : public BrowserAccessibility {
|
| bool IsSlider() const;
|
| bool IsVisibleToUser() const;
|
|
|
| + // This returns true for all nodes that we should navigate to.
|
| + // Nodes that have a generic role, no accessible name, and aren't
|
| + // focusable or clickable aren't interesting.
|
| + bool IsInterestingOnAndroid() const;
|
| +
|
| + // If this node is interesting (IsInterestingOnAndroid() returns true),
|
| + // returns |this|. If not, it recursively checks all of the
|
| + // platform children of this node, and if just a single one is
|
| + // interesting, returns that one. If no descendants are interesting, or
|
| + // if more than one is interesting, returns nullptr.
|
| + const BrowserAccessibilityAndroid* GetSoleInterestingNodeFromSubtree() const;
|
| +
|
| bool CanOpenPopup() const;
|
|
|
| bool HasFocusableChild() const;
|
|
|