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

Issue 830053004: Suppress accessibility events when user is navigating away. (Closed)

Created:
5 years, 11 months ago by dmazzoni
Modified:
5 years, 10 months ago
Reviewers:
nasko
CC:
chromium-reviews, creis+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, tfarina, nasko+codewatch_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

Suppress accessibility events when user is navigating away. When the user navigates to a new page, stop sending accessibility events on the old page. BUG=421116, 450409 Committed: https://crrev.com/6ce40a1e561892849c1f6ac070dda140f6cc0115 Cr-Commit-Position: refs/heads/master@{#314812} Committed: https://crrev.com/bf8cec44f5f9e9640028b292d201d888c4e2c690 Cr-Commit-Position: refs/heads/master@{#315231}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Switch to DidStartLoading, send notification on reload #

Patch Set 3 : Fix indentation #

Total comments: 7

Patch Set 4 : Address feedback #

Patch Set 5 : Renamed test so it only runs on win #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase, disable test for now #

Unified diffs Side-by-side diffs Delta from patch set Stats (+330 lines, -2 lines) Patch
A chrome/browser/ui/views/accessibility/navigation_accessibility_uitest_win.cc View 1 2 3 4 5 6 1 chunk +257 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.cc View 1 2 3 4 5 3 chunks +18 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_win.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_win.cc View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 4 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (8 generated)
dmazzoni
This is the smallest working change that demonstrates what I'd like to do, with a ...
5 years, 11 months ago (2015-01-21 18:55:01 UTC) #2
dmazzoni
https://codereview.chromium.org/830053004/diff/1/chrome/browser/ui/views/accessibility/navigation_accessibility_win_uitest.cc File chrome/browser/ui/views/accessibility/navigation_accessibility_win_uitest.cc (right): https://codereview.chromium.org/830053004/diff/1/chrome/browser/ui/views/accessibility/navigation_accessibility_win_uitest.cc#newcode247 chrome/browser/ui/views/accessibility/navigation_accessibility_win_uitest.cc:247: EXPECT_NE("First Page", name); The test will fail on this ...
5 years, 11 months ago (2015-01-21 18:59:04 UTC) #3
nasko
https://codereview.chromium.org/830053004/diff/1/content/browser/accessibility/browser_accessibility_manager.cc File content/browser/accessibility/browser_accessibility_manager.cc (right): https://codereview.chromium.org/830053004/diff/1/content/browser/accessibility/browser_accessibility_manager.cc#newcode157 content/browser/accessibility/browser_accessibility_manager.cc:157: void BrowserAccessibilityManager::UserIsNavigatingAway(bool is_reload) { This is unused. Why add ...
5 years, 10 months ago (2015-02-03 17:28:05 UTC) #4
dmazzoni
https://codereview.chromium.org/830053004/diff/1/content/browser/accessibility/browser_accessibility_manager.cc File content/browser/accessibility/browser_accessibility_manager.cc (right): https://codereview.chromium.org/830053004/diff/1/content/browser/accessibility/browser_accessibility_manager.cc#newcode157 content/browser/accessibility/browser_accessibility_manager.cc:157: void BrowserAccessibilityManager::UserIsNavigatingAway(bool is_reload) { On 2015/02/03 17:28:05, nasko wrote: ...
5 years, 10 months ago (2015-02-03 17:40:54 UTC) #5
nasko
https://codereview.chromium.org/830053004/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/830053004/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode2528 content/browser/web_contents/web_contents_impl.cc:2528: void WebContentsImpl::AboutToNavigateRenderFrame( On 2015/02/03 17:40:54, dmazzoni wrote: > On ...
5 years, 10 months ago (2015-02-03 18:05:19 UTC) #6
dmazzoni
https://codereview.chromium.org/830053004/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/830053004/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode2528 content/browser/web_contents/web_contents_impl.cc:2528: void WebContentsImpl::AboutToNavigateRenderFrame( On 2015/02/03 18:05:19, nasko wrote: > On ...
5 years, 10 months ago (2015-02-03 18:20:27 UTC) #7
dmazzoni
As discussed, this now uses DidStartLoading for its initial synchronous trigger, and we figure out ...
5 years, 10 months ago (2015-02-04 20:55:06 UTC) #8
dmazzoni
https://codereview.chromium.org/830053004/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/830053004/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode2506 content/browser/web_contents/web_contents_impl.cc:2506: BrowserAccessibilityManager* manager = On 2015/02/03 17:28:05, nasko wrote: > ...
5 years, 10 months ago (2015-02-04 20:56:07 UTC) #9
nasko
Awesome! Just a couple of comments to ensure we are always picking the right accessibility ...
5 years, 10 months ago (2015-02-04 21:12:08 UTC) #10
dmazzoni
https://codereview.chromium.org/830053004/diff/40001/content/browser/accessibility/browser_accessibility_manager_win.cc File content/browser/accessibility/browser_accessibility_manager_win.cc (right): https://codereview.chromium.org/830053004/diff/40001/content/browser/accessibility/browser_accessibility_manager_win.cc#newcode195 content/browser/accessibility/browser_accessibility_manager_win.cc:195: // Don't fire events when this document is stale ...
5 years, 10 months ago (2015-02-04 22:23:10 UTC) #11
nasko
LGTM
5 years, 10 months ago (2015-02-04 22:36:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/830053004/80001
5 years, 10 months ago (2015-02-05 06:56:01 UTC) #14
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/40637)
5 years, 10 months ago (2015-02-05 07:02:11 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/830053004/100001
5 years, 10 months ago (2015-02-05 07:59:51 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/30946)
5 years, 10 months ago (2015-02-05 09:32:21 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/830053004/100001
5 years, 10 months ago (2015-02-05 14:44:39 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-05 15:29:16 UTC) #24
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/6ce40a1e561892849c1f6ac070dda140f6cc0115 Cr-Commit-Position: refs/heads/master@{#314812}
5 years, 10 months ago (2015-02-05 15:30:11 UTC) #25
kelvinp
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/892513004/ by kelvinp@chromium.org. ...
5 years, 10 months ago (2015-02-05 21:36:04 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/830053004/120001
5 years, 10 months ago (2015-02-08 07:32:08 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 10 months ago (2015-02-08 08:28:16 UTC) #29
commit-bot: I haz the power
5 years, 10 months ago (2015-02-08 08:28:40 UTC) #30
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/bf8cec44f5f9e9640028b292d201d888c4e2c690
Cr-Commit-Position: refs/heads/master@{#315231}

Powered by Google App Engine
This is Rietveld 408576698