| Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/overlay_widget.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/overlay_widget.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/overlay_widget.js
|
| index 4831ac7a2d465d7309d41d578316591292459b55..a0c48c4b13c988a4831a1e12bec6352b6347bbb8 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/overlay_widget.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/overlay_widget.js
|
| @@ -62,14 +62,14 @@ cvox.OverlayWidget.prototype.onKeyDown = function(evt) {
|
| goog.base(this, 'onKeyDown', evt);
|
|
|
| // Do not interfere with any key that exits the widget.
|
| - if (evt.keyCode == 13 || evt.keyCode == 27) { // Enter or escape.
|
| + if (evt.keyCode == 13 || evt.keyCode == 27) { // Enter or escape.
|
| return true;
|
| }
|
|
|
| // Bound navigation within the snippet for any other key.
|
| var r = cvox.ChromeVox.navigationManager.isReversed();
|
| if (!cvox.DomUtil.isDescendantOfNode(
|
| - cvox.ChromeVox.navigationManager.getCurrentNode(), this.host_)) {
|
| + cvox.ChromeVox.navigationManager.getCurrentNode(), this.host_)) {
|
| if (r) {
|
| cvox.ChromeVox.navigationManager.syncToBeginning();
|
| } else {
|
| @@ -77,8 +77,8 @@ cvox.OverlayWidget.prototype.onKeyDown = function(evt) {
|
| }
|
| this.onNavigate();
|
| cvox.ChromeVox.navigationManager.speakDescriptionArray(
|
| - cvox.ChromeVox.navigationManager.getDescription(),
|
| - cvox.QueueMode.FLUSH, null);
|
| + cvox.ChromeVox.navigationManager.getDescription(), cvox.QueueMode.FLUSH,
|
| + null);
|
| }
|
| return false;
|
| };
|
|
|