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

Unified Diff: ui/views/test/scoped_views_test_helper.cc

Issue 2604303002: (Mac)Views: Widgets focus first View in traversal order if initial focus fails. (Closed)
Patch Set: Fix compile error. Created 3 years, 11 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/test/scoped_views_test_helper.cc
diff --git a/ui/views/test/scoped_views_test_helper.cc b/ui/views/test/scoped_views_test_helper.cc
index a67ca6e8cffa599f7b69f08296062cd77668e0d7..1bdb3b6ee795a7f6383e919ef9f9755dba6dd1a8 100644
--- a/ui/views/test/scoped_views_test_helper.cc
+++ b/ui/views/test/scoped_views_test_helper.cc
@@ -15,6 +15,7 @@
#include "ui/views/test/platform_test_helper.h"
#include "ui/views/test/test_views_delegate.h"
#include "ui/views/test/views_test_helper.h"
+#include "ui/views/widget/widget.h"
#if defined(USE_AURA)
#include "ui/aura/env.h"
@@ -93,4 +94,9 @@ gfx::NativeWindow ScopedViewsTestHelper::GetContext() {
return test_helper_->GetContext();
}
+void ScopedViewsTestHelper::SetFullKeyboardAccessState(Widget* widget,
+ bool state) {
+ test_helper_->SetFullKeyboardAccessState(widget, state);
+}
+
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698