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

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

Issue 1690543004: MacViews: Implement Full Keyboard Access. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/custom_launcher_page_view.cc
diff --git a/ui/app_list/views/custom_launcher_page_view.cc b/ui/app_list/views/custom_launcher_page_view.cc
index c6934ef4b401a0110d4fe25dfa2a93f4b630205d..532105ebb54b567aa2f08ecc98cc9b153f897043 100644
--- a/ui/app_list/views/custom_launcher_page_view.cc
+++ b/ui/app_list/views/custom_launcher_page_view.cc
@@ -40,11 +40,13 @@ gfx::Rect CustomLauncherPageView::GetPageBoundsForState(
}
void CustomLauncherPageView::OnShown() {
- custom_launcher_page_contents_->SetFocusable(true);
+ custom_launcher_page_contents_->SetFocusBehavior(
+ views::View::FocusBehavior::ALWAYS);
}
void CustomLauncherPageView::OnWillBeHidden() {
- custom_launcher_page_contents_->SetFocusable(false);
+ custom_launcher_page_contents_->SetFocusBehavior(
+ views::View::FocusBehavior::NEVER);
}
} // namespace app_list

Powered by Google App Engine
This is Rietveld 408576698