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

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

Issue 1705853002: NOT FOR REVIEW. ax tree focus with debugging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed crash 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
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js
index 943e0cb64b165555ca265af4ddb13558604d5cb4..f760abc38b0ff9f2e19916ef492aba0462e5a6a4 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js
@@ -40,9 +40,13 @@ TabsAutomationHandler.prototype = {
/** @override */
onLoadComplete: function(evt) {
+ console.log('tabs onLoadComplete');
ChromeVoxState.instance.refreshMode(evt.target.docUrl);
+ console.log('tabs onLoadComplete 1');
var focused = evt.target.find({state: {focused: true}}) || evt.target;
+ console.log('tabs onLoadComplete 2');
this.onFocus({target: focused, type: EventType.focus});
+ console.log('tabs onLoadComplete 3');
}
};

Powered by Google App Engine
This is Rietveld 408576698