Commit af957654 authored by Saho Kobayashi's avatar Saho Kobayashi Committed by Commit Bot

send ARIAATTRIBUTECHANGED when Description changed

send api::automation::EVENT_TYPE_ARIAATTRIBUTECHANGED when
ui::AXEventGenerator::Event::DESCRIPTION_CHANGED is sent to send
description changed event when state description is changed.
DESCRIPTION_CHANGED is disabled in CL:1073926, because state changes were noisy, but it should be safe to send DESCRIPTION_CHANGED.

Bug: b:154433831
Test: manual
Change-Id: I34f540a443eb58ff2978bdc17491c3117826afbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2255737Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
Commit-Queue: Saho Kobayashi <sahok@chromium.org>
Cr-Commit-Position: refs/heads/master@{#781661}
parent 33da386e
......@@ -186,6 +186,7 @@ api::automation::EventType ToAutomationEvent(
// but mapping for backward compat).
case ui::AXEventGenerator::Event::AUTO_COMPLETE_CHANGED:
case ui::AXEventGenerator::Event::COLLAPSED:
case ui::AXEventGenerator::Event::DESCRIPTION_CHANGED:
case ui::AXEventGenerator::Event::EXPANDED:
case ui::AXEventGenerator::Event::IMAGE_ANNOTATION_CHANGED:
case ui::AXEventGenerator::Event::LIVE_REGION_NODE_CHANGED:
......@@ -201,7 +202,6 @@ api::automation::EventType ToAutomationEvent(
case ui::AXEventGenerator::Event::CONTROLS_CHANGED:
case ui::AXEventGenerator::Event::CLASS_NAME_CHANGED:
case ui::AXEventGenerator::Event::DESCRIBED_BY_CHANGED:
case ui::AXEventGenerator::Event::DESCRIPTION_CHANGED:
case ui::AXEventGenerator::Event::DROPEFFECT_CHANGED:
case ui::AXEventGenerator::Event::ENABLED_CHANGED:
case ui::AXEventGenerator::Event::FOCUS_CHANGED:
......
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