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

Issue 1925473002: Add verbose logging for native accessibility events. (Closed)

Created:
4 years, 8 months ago by dmazzoni
Modified:
4 years, 7 months ago
Reviewers:
nektarios
CC:
aboxhall+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, jam, je_julie, nektar+watch_chromium.org, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@load_complete
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add verbose logging for native accessibility events. Introduce a new class BrowserAccessibilityEvent and use it to encapsulate more information about native accessibility events, and optionally log information about events sent and also those that are discarded (and why). This will make it easier to debug problems with accessibility events in the future. BUG=607703 Committed: https://crrev.com/9cd13b2cd1f50c5660b434c40070363e28ece434 Cr-Commit-Position: refs/heads/master@{#390867}

Patch Set 1 #

Patch Set 2 : Finished on Windows #

Patch Set 3 : Fix Android build #

Patch Set 4 : Fix Aura Linux build #

Patch Set 5 : Fix Mac #

Patch Set 6 : Address feedback #

Patch Set 7 : address all feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+568 lines, -176 lines) Patch
M content/browser/accessibility/browser_accessibility.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_android.cc View 1 2 3 chunks +14 lines, -5 lines 0 comments Download
A content/browser/accessibility/browser_accessibility_event.h View 1 2 3 4 5 6 1 chunk +84 lines, -0 lines 0 comments Download
A content/browser/accessibility/browser_accessibility_event.cc View 1 2 3 4 5 6 1 chunk +146 lines, -0 lines 0 comments Download
A content/browser/accessibility/browser_accessibility_event_win.h View 1 2 3 4 5 6 1 chunk +38 lines, -0 lines 0 comments Download
A content/browser/accessibility/browser_accessibility_event_win.cc View 1 2 3 4 5 6 1 chunk +100 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.h View 1 3 chunks +7 lines, -7 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.cc View 1 2 3 4 5 6 9 chunks +32 lines, -19 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_android.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_android.cc View 1 2 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_auralinux.h View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_auralinux.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_mac.h View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_mac.mm View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_win.h View 1 2 3 4 5 6 2 chunks +9 lines, -5 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_win.cc View 1 2 3 4 5 6 3 chunks +82 lines, -110 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.cc View 1 2 3 4 5 6 9 chunks +27 lines, -20 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
dmazzoni
This is incomplete, but I wanted to send this to you now to give you ...
4 years, 8 months ago (2016-04-26 23:04:05 UTC) #2
chromium-reviews
I read through the change and it appears great. -- You received this message because ...
4 years, 7 months ago (2016-04-28 15:49:31 UTC) #3
dmazzoni
Great, thanks. Two more things: 1. Do you think it makes more sense for BrowserAccessibilityEvent ...
4 years, 7 months ago (2016-04-28 16:14:55 UTC) #4
chromium-reviews
On 4/28/2016 12:14 PM, Dominic Mazzoni wrote: > Great, thanks. Two more things: > > ...
4 years, 7 months ago (2016-04-28 16:26:33 UTC) #5
dmazzoni
Sounds good. I think it's worth creating subclasses for each platform, except for now I ...
4 years, 7 months ago (2016-04-28 16:47:07 UTC) #6
dmazzoni
OK, ready for review. I want to move to ui/accessibility in a follow-up patch because ...
4 years, 7 months ago (2016-04-28 22:06:33 UTC) #8
nektarios
+protected: + Source source_; + ui::AXEvent event_type_; + BrowserAccessibility* node_; + BrowserAccessibility* original_node_; Shouldn't all ...
4 years, 7 months ago (2016-04-29 20:24:19 UTC) #9
dmazzoni
On 2016/04/29 20:24:19, nektarios wrote: > Shouldn't all these be private? Subclasses could use set_source ...
4 years, 7 months ago (2016-04-29 21:55:48 UTC) #10
nektarios
lgtm
4 years, 7 months ago (2016-04-29 21:59:52 UTC) #11
chromium-reviews
I'd prefer to call the Send method, SendAndDestroy or better force the caller to delete ...
4 years, 7 months ago (2016-04-29 23:44:20 UTC) #12
dmazzoni
I want to make it clear, but I was thinking of modeling it after ipc/ipc_sender.h, ...
4 years, 7 months ago (2016-04-30 23:09:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925473002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925473002/120001
4 years, 7 months ago (2016-04-30 23:40:01 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 7 months ago (2016-05-01 00:08:09 UTC) #18
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 00:09:31 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/9cd13b2cd1f50c5660b434c40070363e28ece434
Cr-Commit-Position: refs/heads/master@{#390867}

Powered by Google App Engine
This is Rietveld 408576698