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

Issue 1884723003: Accessible location change events need to update internal data structure (Closed)

Created:
4 years, 8 months ago by dmazzoni
Modified:
4 years, 8 months ago
Reviewers:
David Tseng
CC:
chromium-reviews, aboxhall+watch_chromium.org, nektar+watch_chromium.org, jam, yuzo+watch_chromium.org, je_julie, 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

Accessible location change events need to update internal data structure In http://crrev.com/377045 (http://crbug.com/588889), we tried to fire fewer Android events when objects change location. While this achieved its desired goal, it sometimes didn't update the internal data structure with the new locations, leading to the location updates containing stale data. This change refactors the code so that the internal data structure is always updated first, then a second function is called to send events, which can be deferred on Android. BUG=602739, 588889 Committed: https://crrev.com/8196ad3aa5a432169904cb72d57d760719df3e4a Cr-Commit-Position: refs/heads/master@{#387488}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add missing call to SendLocationChangeEvents #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -8 lines) Patch
M content/browser/accessibility/browser_accessibility_manager.h View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.cc View 1 2 1 chunk +10 lines, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_android.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_android.cc View 1 2 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
dmazzoni
4 years, 8 months ago (2016-04-12 23:00:06 UTC) #3
David Tseng
https://codereview.chromium.org/1884723003/diff/1/content/browser/accessibility/browser_accessibility_manager.cc File content/browser/accessibility/browser_accessibility_manager.cc (right): https://codereview.chromium.org/1884723003/diff/1/content/browser/accessibility/browser_accessibility_manager.cc#newcode396 content/browser/accessibility/browser_accessibility_manager.cc:396: } I expected a call to SendLocationChangeEvents here.
4 years, 8 months ago (2016-04-13 22:52:20 UTC) #4
dmazzoni
https://codereview.chromium.org/1884723003/diff/1/content/browser/accessibility/browser_accessibility_manager.cc File content/browser/accessibility/browser_accessibility_manager.cc (right): https://codereview.chromium.org/1884723003/diff/1/content/browser/accessibility/browser_accessibility_manager.cc#newcode396 content/browser/accessibility/browser_accessibility_manager.cc:396: } On 2016/04/13 22:52:20, David Tseng wrote: > I ...
4 years, 8 months ago (2016-04-14 18:19:47 UTC) #5
David Tseng
lgtm
4 years, 8 months ago (2016-04-14 22:32:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884723003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884723003/40001
4 years, 8 months ago (2016-04-14 23:08:35 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-15 00:19:00 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 00:19:57 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8196ad3aa5a432169904cb72d57d760719df3e4a
Cr-Commit-Position: refs/heads/master@{#387488}

Powered by Google App Engine
This is Rietveld 408576698