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

Unified Diff: ui/views/view_targeter_unittest.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/views/view_targeter_unittest.cc
diff --git a/ui/views/view_targeter_unittest.cc b/ui/views/view_targeter_unittest.cc
index 6d6c3641fc7f860621c68ab7b5ce7011956a1b17..a23d0642be16d825719007de6b07a52de6796ae0 100644
--- a/ui/views/view_targeter_unittest.cc
+++ b/ui/views/view_targeter_unittest.cc
@@ -134,7 +134,7 @@ TEST_F(ViewTargeterTest, ViewTargeterForKeyEvents) {
content->AddChildView(child);
child->AddChildView(grandchild);
- grandchild->SetFocusable(true);
+ grandchild->SetFocusBehavior(views::View::FocusBehavior::ALWAYS);
grandchild->RequestFocus();
internal::RootView* root_view =
« ui/views/view.cc ('K') | « ui/views/view.cc ('k') | ui/views/view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698