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

Issue 859133003: Fire AX text inserted event when embedded obj char changes. (Closed)

Created:
5 years, 10 months ago by dmazzoni
Modified:
5 years, 10 months ago
Reviewers:
David Tseng
CC:
chromium-reviews, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, jam, yuzo+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fire AX text inserted event when embedded obj char changes. See bug for details. This patch makes it so that we fire the events IA2_EVENT_TEXT_INSERTED and IA2_EVENT_TEXT_REMOVED when the children referenced by the embedded object characters changed, not just when the text changed. This patch also avoids incorrectly firing these same two events on a newly-created node. BUG=425861 Committed: https://crrev.com/57831c0d68b35843942e19e30d0c9c86d2005099 Cr-Commit-Position: refs/heads/master@{#314280}

Patch Set 1 #

Patch Set 2 : Fixed compile #

Patch Set 3 : Fix unittest #

Patch Set 4 : Fix unsigned comparison #

Patch Set 5 : Minor cleanup #

Total comments: 16

Patch Set 6 : Address feedback #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -140 lines) Patch
M content/browser/accessibility/browser_accessibility.h View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.cc View 1 2 3 4 1 chunk +0 lines, -9 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_win.cc View 1 2 3 4 5 6 1 chunk +31 lines, -9 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.h View 1 2 3 4 6 chunks +24 lines, -18 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.cc View 1 2 3 4 5 6 12 chunks +123 lines, -86 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_events_browsertest.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/test/data/accessibility/event/add-child-expected-win.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/event/add-subtree-expected-win.txt View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/test/data/accessibility/event/css-display-expected-win.txt View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/data/accessibility/event/css-visibility-expected-win.txt View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A + content/test/data/accessibility/event/inner-html-change.html View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
A + content/test/data/accessibility/event/inner-html-change-expected-mac.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A content/test/data/accessibility/event/inner-html-change-expected-win.txt View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M content/test/data/accessibility/event/remove-hidden-attribute-expected-win.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/event/remove-hidden-attribute-subtree-expected-win.txt View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/test/data/accessibility/event/text-changed-expected-win.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (6 generated)
dmazzoni
Ready for review!
5 years, 10 months ago (2015-01-30 21:53:11 UTC) #2
David Tseng
https://codereview.chromium.org/859133003/diff/60001/content/browser/accessibility/browser_accessibility_manager_win.cc File content/browser/accessibility/browser_accessibility_manager_win.cc (right): https://codereview.chromium.org/859133003/diff/60001/content/browser/accessibility/browser_accessibility_manager_win.cc#newcode311 content/browser/accessibility/browser_accessibility_manager_win.cc:311: // concatenatenation of all of its child text nodes, ...
5 years, 10 months ago (2015-01-30 23:57:25 UTC) #3
dmazzoni
https://codereview.chromium.org/859133003/diff/60001/content/browser/accessibility/browser_accessibility_manager_win.cc File content/browser/accessibility/browser_accessibility_manager_win.cc (right): https://codereview.chromium.org/859133003/diff/60001/content/browser/accessibility/browser_accessibility_manager_win.cc#newcode311 content/browser/accessibility/browser_accessibility_manager_win.cc:311: // concatenatenation of all of its child text nodes, ...
5 years, 10 months ago (2015-01-31 07:45:21 UTC) #4
David Tseng
lgtm
5 years, 10 months ago (2015-02-02 16:26:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/859133003/80001
5 years, 10 months ago (2015-02-02 16:28:08 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/39834)
5 years, 10 months ago (2015-02-02 16:34:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/859133003/100001
5 years, 10 months ago (2015-02-02 23:34:07 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (None)
5 years, 10 months ago (2015-02-03 01:35:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/859133003/100001
5 years, 10 months ago (2015-02-03 06:55:46 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (id:100001)
5 years, 10 months ago (2015-02-03 06:56:48 UTC) #16
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 06:57:47 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/57831c0d68b35843942e19e30d0c9c86d2005099
Cr-Commit-Position: refs/heads/master@{#314280}

Powered by Google App Engine
This is Rietveld 408576698