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

Unified Diff: chrome/browser/chromeos/accessibility/spoken_feedback_event_rewriter.cc

Issue 1636243002: Eat all keys involving Search when ChromeVox is on and add a pass through mode command. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Track key up. Created 4 years, 11 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 | « no previous file | chrome/browser/resources/chromeos/chromevox/chromevox/background/keymaps/next_keymap.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/accessibility/spoken_feedback_event_rewriter.cc
diff --git a/chrome/browser/chromeos/accessibility/spoken_feedback_event_rewriter.cc b/chrome/browser/chromeos/accessibility/spoken_feedback_event_rewriter.cc
index 6b1c91f6156ce8d842274a6bb6c92eaee0ed6fc6..c587decb0da9650291ca89fde902030b4ed684da 100644
--- a/chrome/browser/chromeos/accessibility/spoken_feedback_event_rewriter.cc
+++ b/chrome/browser/chromeos/accessibility/spoken_feedback_event_rewriter.cc
@@ -53,6 +53,9 @@ bool SpokenFeedbackEventRewriterDelegate::DispatchKeyEventToChromeVox(
content::RenderViewHost* rvh = host->render_view_host();
+ // Always capture the Search key.
+ capture |= key_event.IsCommandDown();
+
// Listen for any unhandled keyboard events from ChromeVox's background page
// when capturing keys to reinject.
if (capture)
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/chromevox/background/keymaps/next_keymap.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698