summaryrefslogtreecommitdiffstats
path: root/views/accessibility/view_accessibility.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/accessibility/view_accessibility.h')
-rw-r--r--views/accessibility/view_accessibility.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/views/accessibility/view_accessibility.h b/views/accessibility/view_accessibility.h
index 44df074..010eeb4 100644
--- a/views/accessibility/view_accessibility.h
+++ b/views/accessibility/view_accessibility.h
@@ -117,10 +117,6 @@ class ATL_NO_VTABLE ViewAccessibility
static int32 MSAAState(AccessibilityTypes::State state);
private:
- // Checks to see if child_id is within the child bounds of view. Returns true
- // if the child is within the bounds, false otherwise.
- bool IsValidChild(int child_id, views::View* view) const;
-
// Determines navigation direction for accNavigate, based on left, up and
// previous being mapped all to previous and right, down, next being mapped
// to next. Returns true if navigation direction is next, false otherwise.
@@ -133,6 +129,9 @@ class ATL_NO_VTABLE ViewAccessibility
int lower_bound,
int upper_bound) const;
+ // Determines if the child id variant is valid.
+ bool IsValidId(const VARIANT& child) const;
+
// Wrapper to retrieve the view's instance of IAccessible.
ViewAccessibilityWrapper* GetViewAccessibilityWrapper(views::View* v) const {
return v->GetViewAccessibilityWrapper();