Index: content/public/test/browser_test_utils.h |
diff --git a/content/public/test/browser_test_utils.h b/content/public/test/browser_test_utils.h |
index 203c6f80ff29d708386991b025757958a4c97a66..a07ed26205bb054dbabac92d274ea4a7bf4134f9 100644 |
--- a/content/public/test/browser_test_utils.h |
+++ b/content/public/test/browser_test_utils.h |
@@ -26,6 +26,7 @@ |
#include "content/public/common/page_type.h" |
#include "ipc/message_filter.h" |
#include "third_party/WebKit/public/web/WebInputEvent.h" |
+#include "ui/accessibility/ax_node_data.h" |
#include "ui/events/keycodes/keyboard_codes.h" |
#include "url/gurl.h" |
@@ -279,6 +280,15 @@ void RunTaskAndWaitForInterstitialDetach(content::WebContents* web_contents, |
// message is handled properly. |
bool WaitForRenderFrameReady(RenderFrameHost* rfh) WARN_UNUSED_RESULT; |
+// Enable accessibility support for all of the frames in this WebContents |
+void EnableAccessibilityForWebContents(WebContents* web_contents); |
+ |
+// Wait until the focused accessible node changes in any WebContents. |
+void WaitForAccessibilityFocusChange(); |
+ |
+// Retrieve information about the node that's focused in the accessibility tree. |
+ui::AXNodeData GetFocusedAccessibilityNodeInfo(WebContents* web_contents); |
+ |
// Watches title changes on a WebContents, blocking until an expected title is |
// set. |
class TitleWatcher : public WebContentsObserver { |