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

Unified Diff: ash/wm/overview/window_selector_item.h

Issue 1693713004: Don't fire a FOCUS accessibility event on a View that doesn't have focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed one call to SendFocusAlert Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/overview/window_grid.cc ('k') | ash/wm/overview/window_selector_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_selector_item.h
diff --git a/ash/wm/overview/window_selector_item.h b/ash/wm/overview/window_selector_item.h
index d7949d9437e6bd495144ecc1f8c9183e6932dcc9..36ab26dbe50bebce232b5be8c0ee3d8c87f250c9 100644
--- a/ash/wm/overview/window_selector_item.h
+++ b/ash/wm/overview/window_selector_item.h
@@ -86,9 +86,10 @@ class ASH_EXPORT WindowSelectorItem : public views::ButtonListener,
// dispatched when the bounds of a window change.
void RecomputeWindowTransforms();
- // Sends an a11y focus alert so that, if chromevox is enabled, the window
- // label is read.
- void SendFocusAlert() const;
+ // Sends an accessibility event indicating that this window became selected
+ // so that it's highlighted and announced if accessibility features are
+ // enabled.
+ void SendAccessibleSelectionEvent();
// Sets if the item is dimmed in the overview. Changing the value will also
// change the visibility of the transform windows.
« no previous file with comments | « ash/wm/overview/window_grid.cc ('k') | ash/wm/overview/window_selector_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698