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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js

Issue 2331253002: Use category flush for focus events. (Closed)
Patch Set: fix test Created 4 years, 3 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
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js
index a756584630d2a5424c5ce424ec8713552e700f70..ba500734e3676989bcb2944ac0e3cb937ba12414 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js
@@ -38,7 +38,7 @@ BackgroundKeyboardHandler.prototype = {
evt.preventDefault();
evt.stopPropagation();
}
- Output.flushNextSpeechUtterance();
+ Output.forceModeForNextSpeechUtterance(cvox.QueueMode.FLUSH);
return false;
},

Powered by Google App Engine
This is Rietveld 408576698