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

Unified Diff: ui/views/controls/webview/webview_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/controls/webview/webview_unittest.cc
diff --git a/ui/views/controls/webview/webview_unittest.cc b/ui/views/controls/webview/webview_unittest.cc
index b6d1a1cbb5a6accaf7206139a36e4d9853d2ff3b..9b7d1830dd843fd553324654a3d7dadc0a294f46 100644
--- a/ui/views/controls/webview/webview_unittest.cc
+++ b/ui/views/controls/webview/webview_unittest.cc
@@ -401,7 +401,7 @@ TEST_F(WebViewUnitTest, EmbeddedFullscreenDuringScreenCapture_ClickToFocus) {
web_view()->SetBoundsRect(gfx::Rect(0, 0, 100, 90));
views::View* const something_to_focus = new views::View();
something_to_focus->SetBoundsRect(gfx::Rect(0, 90, 100, 10));
- something_to_focus->SetFocusable(true);
+ something_to_focus->SetFocusBehavior(views::View::FocusBehavior::ALWAYS);
top_level_widget()->GetContentsView()->AddChildView(something_to_focus);
web_view()->SetEmbedFullscreenWidgetMode(true);

Powered by Google App Engine
This is Rietveld 408576698