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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc

Issue 1898633004: Views: Add new SetFocusBehavior method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. 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: chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc
index 92f0a6d681f2d93462a13907fcda13f35a1a8e8e..3ac3c8693840fac261b091fc4eae62308d5c5444 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc
@@ -91,8 +91,10 @@ class AutofillDialogViewsTest : public TestWithBrowserView {
protected:
void SetSectionsFocusable() {
- dialog()->GetNotificationAreaForTesting()->SetFocusable(true);
- dialog()->GetScrollableAreaForTesting()->SetFocusable(true);
+ dialog()->GetNotificationAreaForTesting()->SetFocusBehavior(
+ views::View::FocusBehavior::ALWAYS);
+ dialog()->GetScrollableAreaForTesting()->SetFocusBehavior(
+ views::View::FocusBehavior::ALWAYS);
}
private:

Powered by Google App Engine
This is Rietveld 408576698