Index: chrome/test/base/interactive_test_utils.h |
diff --git a/chrome/test/base/interactive_test_utils.h b/chrome/test/base/interactive_test_utils.h |
index 0779a4f862ee70467c3f352982af822ccdbbb355..e8c7a224b16fb61f8d4c12931634602e3f5f5573 100644 |
--- a/chrome/test/base/interactive_test_utils.h |
+++ b/chrome/test/base/interactive_test_utils.h |
@@ -31,6 +31,9 @@ bool IsViewFocused(const Browser* browser, ViewID vid); |
// Simulates a mouse click on a View in the browser. |
void ClickOnView(const Browser* browser, ViewID vid); |
+// Makes focus shift to the given View without clicking it. |
+void FocusView(const Browser* browser, ViewID vid); |
+ |
// A collection of utilities that are used from interactive_ui_tests. These are |
// separated from ui_test_utils.h to ensure that browser_tests don't use them, |
// since they depend on focus which isn't possible for sharded test. |