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

Issue 505423002: Re-focus node with Android accessibility focus when it moves (Closed)

Created:
6 years, 3 months ago by dmazzoni
Modified:
6 years, 3 months ago
Reviewers:
Peter Lundblad
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@update_accessibility_focus_3b
Project:
chromium
Visibility:
Public.

Description

Re-focus node with Android accessibility focus when it moves This is a workaround for an Android accessibility bug - when the object with accessibility focus moves, Android doesn't update the bounds of accessibility focus on the screen, even if we send a WINDOW_CONTENT_CHANGED event. With this change, we keep track of the bounding rect of the node with accessibility focus, and if it changes, we move focus to the document and then back to this node, which works around the issue. No visual flicker was observed when testing on multiple devices. Refreshable braille displays flicker briefly. BUG=407871 Committed: https://crrev.com/9e8fa203c7856353cf342f9394298e4e49735dcc Cr-Commit-Position: refs/heads/master@{#292402}

Patch Set 1 #

Patch Set 2 : Reset rect on focus change #

Total comments: 1

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M content/browser/accessibility/browser_accessibility_manager_android.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java View 1 2 6 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
dmazzoni
dmazzoni@chromium.org changed reviewers: + plundblad@chromium.org
6 years, 3 months ago (2014-08-26 23:12:09 UTC) #1
dmazzoni
6 years, 3 months ago (2014-08-26 23:12:26 UTC) #2
Peter Lundblad
lgtm https://codereview.chromium.org/505423002/diff/20001/content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java File content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java (right): https://codereview.chromium.org/505423002/diff/20001/content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java#newcode575 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java:575: moveAccessibilityFocusToIdAndRefocusIfNeeded(virtualViewId); Does it work to send a clear ...
6 years, 3 months ago (2014-08-27 09:52:56 UTC) #3
dmazzoni
On 2014/08/27 09:52:56, Peter Lundblad wrote: > lgtm > > https://codereview.chromium.org/505423002/diff/20001/content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java > File > content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java ...
6 years, 3 months ago (2014-08-27 19:29:46 UTC) #4
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 3 months ago (2014-08-27 19:30:02 UTC) #5
dmazzoni
The CQ bit was unchecked by dmazzoni@chromium.org
6 years, 3 months ago (2014-08-27 19:30:13 UTC) #6
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 3 months ago (2014-08-28 15:58:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/505423002/40001
6 years, 3 months ago (2014-08-28 15:59:52 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 86a4fd65c614a4bc635a205a661d95a948d26267
6 years, 3 months ago (2014-08-28 16:54:31 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:00:12 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9e8fa203c7856353cf342f9394298e4e49735dcc
Cr-Commit-Position: refs/heads/master@{#292402}

Powered by Google App Engine
This is Rietveld 408576698