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

Unified Diff: components/test_runner/web_test_proxy.cc

Issue 1589623002: Keep track of accessibility focus across windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final suggestions Created 4 years, 10 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: components/test_runner/web_test_proxy.cc
diff --git a/components/test_runner/web_test_proxy.cc b/components/test_runner/web_test_proxy.cc
index 5f555298ffa071f5a8490648ce95c3e6175d1bc6..9a6d1f8c1972758929b2e874d3f2d4a12d53b32c 100644
--- a/components/test_runner/web_test_proxy.cc
+++ b/components/test_runner/web_test_proxy.cc
@@ -659,9 +659,6 @@ void WebTestProxyBase::PostAccessibilityEvent(const blink::WebAXObject& obj,
if (!test_interfaces_->GetTestRunner()->TestIsRunning())
return;
- if (event == blink::WebAXEventFocus)
- test_interfaces_->GetAccessibilityController()->SetFocusedElement(obj);
-
const char* event_name = NULL;
switch (event) {
case blink::WebAXEventActiveDescendantChanged:

Powered by Google App Engine
This is Rietveld 408576698