Index: ui/views/accessible_pane_view.h |
diff --git a/ui/views/accessible_pane_view.h b/ui/views/accessible_pane_view.h |
index 0d563d7c726d60523f6894e02420dba0648556db..181608ef208ebabf5a4657ac40335ae19fc6665c 100644 |
--- a/ui/views/accessible_pane_view.h |
+++ b/ui/views/accessible_pane_view.h |
@@ -62,6 +62,15 @@ class VIEWS_EXPORT AccessiblePaneView : public View, |
// other than the first focusable child. |
virtual View* GetDefaultFocusableChild(); |
+ // Returns the parent of |v|. Subclasses can override this if |
+ // they need custom focus search behavior. |
+ virtual View* GetParentForFocusSearch(View* v); |
+ |
+ // Returns true if |v| is contained within the hierarchy rooted at |root| |
+ // for the purpose of focus searching. Subclasses can override this if |
+ // they need custom focus search behavior. |
+ virtual bool ContainsForFocusSearch(View* root, const View* v); |
+ |
// Remove pane focus. |
virtual void RemovePaneFocus(); |
@@ -90,6 +99,8 @@ class VIEWS_EXPORT AccessiblePaneView : public View, |
ui::Accelerator left_key_; |
ui::Accelerator right_key_; |
+ friend class AccessiblePaneViewFocusSearch; |
+ |
DISALLOW_COPY_AND_ASSIGN(AccessiblePaneView); |
}; |