Index: ui/views/test/views_test_helper.h |
diff --git a/ui/views/test/views_test_helper.h b/ui/views/test/views_test_helper.h |
index 787648dc04595fcee8c078d6a170148e9c9718db..f24a0c8b24502df4c68b1dab86d6070e36d4ce68 100644 |
--- a/ui/views/test/views_test_helper.h |
+++ b/ui/views/test/views_test_helper.h |
@@ -19,6 +19,8 @@ class ContextFactoryPrivate; |
namespace views { |
+class Widget; |
+ |
// A helper class owned by tests that performs platform specific initialization |
// required for running tests. |
class ViewsTestHelper { |
@@ -42,6 +44,10 @@ class ViewsTestHelper { |
// RootWindow. Everywhere else, NULL. |
virtual gfx::NativeWindow GetContext(); |
+ // Call this method to turn on full keyboard access for the given Widget. Note |
+ // this is only used on Mac. |
+ virtual void SetFullKeyboardAccessState(Widget* widget, bool new_state); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(ViewsTestHelper); |
}; |