Commit 71958769 authored by Martin Robinson's avatar Martin Robinson Committed by Commit Bot

Remove ChromeOS workaround for window activate and deactivate events

Bug: 866336
Change-Id: I4e59974ee8f11cd789720b587d2954d7e3086168
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1309654
Commit-Queue: Martin Robinson <mrobinson@igalia.com>
Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#703369}
parent e4c904eb
......@@ -83,16 +83,6 @@ void AutomationManagerAura::OnViewEvent(views::View* view,
if (!obj)
return;
// Ignore toplevel window activate and deactivate events. These are causing
// issues with ChromeOS accessibility tests and are currently only used on
// desktop Linux platforms.
// TODO(https://crbug.com/89717): Need to harmonize the firing of
// accessibility events between platforms.
if (event_type == ax::mojom::Event::kWindowActivated ||
event_type == ax::mojom::Event::kWindowDeactivated) {
return;
}
// Post a task to handle the event at the end of the current call stack.
// This helps us avoid firing accessibility events for transient changes.
// because there's a chance that the underlying object being wrapped could
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment