Index: ui/views/test/scoped_views_test_helper.h |
diff --git a/ui/views/test/scoped_views_test_helper.h b/ui/views/test/scoped_views_test_helper.h |
index bac1de0635ebf3f355d5401f5fc2a5a35f85b59a..136567bd00095eb5950fdfbf84721aa8258b32c1 100644 |
--- a/ui/views/test/scoped_views_test_helper.h |
+++ b/ui/views/test/scoped_views_test_helper.h |
@@ -15,6 +15,7 @@ namespace views { |
class PlatformTestHelper; |
class TestViewsDelegate; |
class ViewsTestHelper; |
+class Widget; |
// Creates a ViewsTestHelper that is destroyed automatically. Acts like |
// ViewsTestBase but allows a test harness to use a different base class, or |
@@ -37,6 +38,10 @@ class ScopedViewsTestHelper { |
// the RootWindow. Everywhere else, null. |
gfx::NativeWindow GetContext(); |
+ // Call this method to turn on full keyboard access for the given Widget. Note |
+ // this is only used on Mac. |
+ void SetFullKeyboardAccessState(Widget* widget, bool state); |
+ |
TestViewsDelegate* views_delegate() { return views_delegate_.get(); }; |
PlatformTestHelper* platform_test_helper() { |