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

Unified Diff: ui/app_list/views/folder_header_view.cc

Issue 1894383002: MacViews: Implement Full Keyboard Access. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SetFocusBehavior
Patch Set: Rebased Created 4 years, 7 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: ui/app_list/views/folder_header_view.cc
diff --git a/ui/app_list/views/folder_header_view.cc b/ui/app_list/views/folder_header_view.cc
index 7f4de84a6a3df1900c451fab2b60a596e3015dff..d7d2d788e3cbffbd0f1ea07e437c3a832bbef5e9 100644
--- a/ui/app_list/views/folder_header_view.cc
+++ b/ui/app_list/views/folder_header_view.cc
@@ -72,7 +72,7 @@ FolderHeaderView::FolderHeaderView(FolderHeaderViewDelegate* delegate)
back_button_->SetImageAlignment(views::ImageButton::ALIGN_CENTER,
views::ImageButton::ALIGN_MIDDLE);
AddChildView(back_button_);
- back_button_->SetFocusBehavior(FocusBehavior::ALWAYS);
+ views::Button::ConfigureDefaultFocus(back_button_);
back_button_->SetAccessibleName(
ui::ResourceBundle::GetSharedInstance().GetLocalizedString(
IDS_APP_LIST_FOLDER_CLOSE_FOLDER_ACCESSIBILE_NAME));

Powered by Google App Engine
This is Rietveld 408576698