#include "ui/views/focus/focus_search.h"
#include "base/logging.h"
#include "build/build_config.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/focus/focus_manager.h"
#include "ui/views/view.h"
#include "ui/views/view_class_properties.h"
#include "ui/views/widget/widget.h"
#include "ui/views/window/dialog_delegate.h"
namespace views {
FocusSearch::FocusSearch(View* root, bool cycle, bool accessibility_mode)
: … { … }
View* FocusSearch::FindNextFocusableView(
View* starting_view,
FocusSearch::SearchDirection search_direction,
FocusSearch::TraversalDirection traversal_direction,
FocusSearch::StartingViewPolicy check_starting_view,
FocusSearch::AnchoredDialogPolicy can_go_into_anchored_dialog,
FocusTraversable** focus_traversable,
View** focus_traversable_view) { … }
bool FocusSearch::IsViewFocusableCandidate(View* v, int skip_group_id) { … }
bool FocusSearch::IsFocusable(View* v) { … }
View* FocusSearch::FindSelectedViewForGroup(View* view) { … }
View* FocusSearch::GetParent(View* v) { … }
bool FocusSearch::Contains(View* root, const View* v) { … }
View* FocusSearch::FindNextFocusableViewImpl(
View* starting_view,
FocusSearch::StartingViewPolicy check_starting_view,
bool can_go_up,
bool can_go_down,
AnchoredDialogPolicy can_go_into_anchored_dialog,
int skip_group_id,
base::flat_set<View*>* seen_views,
FocusTraversable** focus_traversable,
View** focus_traversable_view) { … }
View* FocusSearch::FindPreviousFocusableViewImpl(
View* starting_view,
FocusSearch::StartingViewPolicy check_starting_view,
bool can_go_up,
bool can_go_down,
FocusSearch::AnchoredDialogPolicy can_go_into_anchored_dialog,
int skip_group_id,
base::flat_set<View*>* seen_views,
FocusTraversable** focus_traversable,
View** focus_traversable_view) { … }
}