Index: ui/views/focus/focus_manager.h |
diff --git a/ui/views/focus/focus_manager.h b/ui/views/focus/focus_manager.h |
index 6a17fc2bc1a00e8174cc637f787efecdf6ba9d53..be254133826232a308fb82e9992a5fa4da1c8273 100644 |
--- a/ui/views/focus/focus_manager.h |
+++ b/ui/views/focus/focus_manager.h |
@@ -308,8 +308,16 @@ class VIEWS_EXPORT FocusManager { |
} |
private: |
- // Returns the next focusable view. |
- View* GetNextFocusableView(View* starting_view, bool reverse, bool dont_loop); |
+ // Returns the next focusable view. Traversal starts at |starting_view|. If |
+ // |starting_view| is NULL |starting_widget| is consuled to determine which |
+ // Widget to start from. See |
+ // WidgetDelegate::ShouldAdvanceFocusToTopLevelWidget() for details. If both |
+ // |starting_view| and |starting_widget| are NULL, traversal starts at |
+ // |widget_|. |
+ View* GetNextFocusableView(View* starting_view, |
+ Widget* starting_widget, |
+ bool reverse, |
+ bool dont_loop); |
// Returns the focusable view found in the FocusTraversable specified starting |
// at the specified view. This traverses down along the FocusTraversable |