Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1639)

Unified Diff: ash/common/system/status_area_widget_delegate.cc

Issue 2709593002: Revert of 'Signin screen and locked screen status area focus advancing' (Closed)
Patch Set: revert 2295843006 Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/common/system/status_area_widget_delegate.cc
diff --git a/ash/common/system/status_area_widget_delegate.cc b/ash/common/system/status_area_widget_delegate.cc
index 920c171e6b548496961734f29200dc3804b356a9..31ac3f6303568e2b011b2a3989275ab412fbd6a8 100644
--- a/ash/common/system/status_area_widget_delegate.cc
+++ b/ash/common/system/status_area_widget_delegate.cc
@@ -69,25 +69,7 @@ void StatusAreaWidgetDelegate::SetFocusCyclerForTesting(
}
views::View* StatusAreaWidgetDelegate::GetDefaultFocusableChild() {
- return default_last_focusable_child_ ? GetLastFocusableChild()
- : GetFirstFocusableChild();
-}
-
-views::FocusSearch* StatusAreaWidgetDelegate::GetFocusSearch() {
- return custom_focus_traversable_ ? custom_focus_traversable_->GetFocusSearch()
- : AccessiblePaneView::GetFocusSearch();
-}
-
-views::FocusTraversable* StatusAreaWidgetDelegate::GetFocusTraversableParent() {
- return custom_focus_traversable_
- ? custom_focus_traversable_->GetFocusTraversableParent()
- : AccessiblePaneView::GetFocusTraversableParent();
-}
-
-views::View* StatusAreaWidgetDelegate::GetFocusTraversableParentView() {
- return custom_focus_traversable_
- ? custom_focus_traversable_->GetFocusTraversableParentView()
- : AccessiblePaneView::GetFocusTraversableParentView();
+ return child_at(0);
}
views::Widget* StatusAreaWidgetDelegate::GetWidget() {
« no previous file with comments | « ash/common/system/status_area_widget_delegate.h ('k') | chrome/browser/chromeos/login/ui/webui_login_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698