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

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

Issue 2412433004: Recovery: Implement focus recovery across root AutomationNodes (Closed)
Patch Set: Address feedback. Created 4 years, 2 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/i_search.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/i_search.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/i_search.js
index 81276ced90743331c68bec033a4c3fd78c73a8ed..74e9871a8bca4cbabf95e44f0fa93a2c8643bbb4 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/i_search.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/i_search.js
@@ -123,7 +123,6 @@ ISearchUI = function(input) {
this.onKeyDown = this.onKeyDown.bind(this);
this.onTextInput = this.onTextInput.bind(this);
- this.background_['startExcursion']();
input.addEventListener('keydown', this.onKeyDown, true);
input.addEventListener('textInput', this.onTextInput, true);
};
@@ -156,12 +155,10 @@ ISearchUI.prototype = {
break;
case 'Escape':
this.pendingSearchId_ = 0;
- this.background_['endExcursion']();
Panel.closeMenusAndRestoreFocus();
return false;
case 'Enter':
this.pendingSearchId_ = 0;
- this.background_['saveExcursion']();
Panel.closeMenusAndRestoreFocus();
return false;
default:

Powered by Google App Engine
This is Rietveld 408576698