Commit 030eb3e7 authored by Dominic Mazzoni's avatar Dominic Mazzoni Committed by Commit Bot

Remove logging accidentally landed with previous patch

Bug: none
Change-Id: I3533cb5c3ce7645dd08cf9190c194274309a8b0a
TBR: dtseng@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/832910Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524742}
parent 98b2a6d3
......@@ -201,28 +201,16 @@ bool AutomationAXTreeWrapper::OnAccessibilityEvent(
api::automation::EventType automation_event_type =
ToAutomationEvent(params.event_type);
if (automation_event_type ==
api::automation::EVENT_TYPE_DOCUMENTSELECTIONCHANGED)
LOG(ERROR) << "AXAX Native DOCUMENT SELECTION CHANGED event";
// Send some events directly from the event message, if they're not
// handled by AXEventGenerator yet.
if (!IsEventTypeHandledByAXEventGenerator(automation_event_type)) {
if (automation_event_type ==
api::automation::EVENT_TYPE_DOCUMENTSELECTIONCHANGED)
LOG(ERROR) << "AXAX SENDING Native DOCUMENT SELECTION CHANGED event";
if (!IsEventTypeHandledByAXEventGenerator(automation_event_type))
owner_->SendAutomationEvent(params, params.id, automation_event_type);
}
// Send auto-generated AXEventGenerator events.
for (auto targeted_event : *this) {
api::automation::EventType event_type =
ToAutomationEvent(targeted_event.event);
if (event_type == api::automation::EVENT_TYPE_DOCUMENTSELECTIONCHANGED)
LOG(ERROR) << "AXAX Generated DOCUMENT SELECTION CHANGED event";
if (IsEventTypeHandledByAXEventGenerator(event_type)) {
if (event_type == api::automation::EVENT_TYPE_DOCUMENTSELECTIONCHANGED)
LOG(ERROR) << "AXAX SENDING Generated DOCUMENT SELECTION CHANGED event";
owner_->SendAutomationEvent(params, targeted_event.node->id(),
event_type);
}
......
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