diff options
author | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-03 21:44:33 +0000 |
---|---|---|
committer | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-03 21:44:33 +0000 |
commit | a218b915510ce95c2f1dd4d81fa03c5708cba8d1 (patch) | |
tree | 3c7fbd761812e6d298b8909f82342e39c273125d /views/accessibility/view_accessibility.h | |
parent | 32352d183d26f0c96014c3a22d8beb2d3e91e3fd (diff) | |
download | chromium_src-a218b915510ce95c2f1dd4d81fa03c5708cba8d1.zip chromium_src-a218b915510ce95c2f1dd4d81fa03c5708cba8d1.tar.gz chromium_src-a218b915510ce95c2f1dd4d81fa03c5708cba8d1.tar.bz2 |
Alway return interface from ViewAccessibility::get_accChild.
BUG=none
TEST=Verify screen reader accessibility during events like nagivating toolbar or menus.
Review URL: http://codereview.chromium.org/3292007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58547 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/accessibility/view_accessibility.h')
-rw-r--r-- | views/accessibility/view_accessibility.h | 7 |
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(); |