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

Issue 1693713004: Don't fire a FOCUS accessibility event on a View that doesn't have focus. (Closed)

Created:
4 years, 10 months ago by dmazzoni
Modified:
4 years, 10 months ago
Reviewers:
David Tseng, sky
CC:
chromium-reviews, sadrul, bondd+autofillwatch_chromium.org, arv+watch_chromium.org, tapted, Matt Giuca, aboxhall+watch_chromium.org, je_julie, vabr+watchlistautofill_chromium.org, kalyank, vabr+watchlistpasswordmanager_chromium.org, rouslan+autofill_chromium.org, yuzo+watch_chromium.org, oshima+watch_chromium.org, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org, plundblad+watch_chromium.org, tfarina, nektar+watch_chromium.org, jdonnelly+autofillwatch_chromium.org, dtseng+watch_chromium.org, estade+watch_chromium.org, dmazzoni+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't fire a FOCUS accessibility event on a View that doesn't have focus. Soon firing a focus event on a View won't have any effect if that View isn't really the focused view (http://crrev.com/1589623002). This is important so we can filter out events from inactive windows. There were a few cases where we were firing a FOCUS accessibility event on a View when it didn't actually have focus. Replace each of these with another accessibility event that will have the same end result. BUG=584505 Committed: https://crrev.com/d688790882cbc634e1b831c2eb99f9ffb3fbe307 Cr-Commit-Position: refs/heads/master@{#375809}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Renamed method to SendAccessibleSelectionEvent #

Patch Set 3 : Missed one call to SendFocusAlert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -16 lines) Patch
M ash/wm/overview/window_grid.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/overview/window_selector_item.h View 1 1 chunk +4 lines, -3 lines 0 comments Download
M ash/wm/overview/window_selector_item.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/base_automation_handler.js View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/views/search_box_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/views/search_result_list_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/views/start_page_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/views/tile_item_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/button/custom_button.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/tree/tree_view.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (6 generated)
dmazzoni
4 years, 10 months ago (2016-02-12 22:37:45 UTC) #3
sky
https://codereview.chromium.org/1693713004/diff/1/ash/wm/overview/window_selector_item.cc File ash/wm/overview/window_selector_item.cc (right): https://codereview.chromium.org/1693713004/diff/1/ash/wm/overview/window_selector_item.cc#newcode217 ash/wm/overview/window_selector_item.cc:217: ui::AX_EVENT_SELECTION, true); If the name of this method is ...
4 years, 10 months ago (2016-02-14 16:21:52 UTC) #4
dmazzoni
https://codereview.chromium.org/1693713004/diff/1/ash/wm/overview/window_selector_item.cc File ash/wm/overview/window_selector_item.cc (right): https://codereview.chromium.org/1693713004/diff/1/ash/wm/overview/window_selector_item.cc#newcode217 ash/wm/overview/window_selector_item.cc:217: ui::AX_EVENT_SELECTION, true); On 2016/02/14 16:21:52, sky wrote: > If ...
4 years, 10 months ago (2016-02-17 00:25:19 UTC) #5
sky
LGTM
4 years, 10 months ago (2016-02-17 01:06:52 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1693713004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1693713004/40001
4 years, 10 months ago (2016-02-17 05:33:09 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-17 06:20:41 UTC) #11
commit-bot: I haz the power
4 years, 10 months ago (2016-02-17 06:21:29 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d688790882cbc634e1b831c2eb99f9ffb3fbe307
Cr-Commit-Position: refs/heads/master@{#375809}

Powered by Google App Engine
This is Rietveld 408576698