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

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

Issue 2388193003: Always enqueue live regions from background tabs (Closed)
Patch Set: Remove obsolete helper. 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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
index ec46d11828f3308bd6e4b7046d193952eaabfa91..416806c3c6d1e607bd784b9bdcf010889ba571a8 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
@@ -241,27 +241,6 @@ AutomationUtil.isInSameTree = function(a, b) {
};
/**
- * Determines whether the two given nodes come from the same webpage.
- * @param {AutomationNode} a
- * @param {AutomationNode} b
- * @return {boolean}
- */
-AutomationUtil.isInSameWebpage = function(a, b) {
- if (!a || !b)
- return false;
-
- a = a.root;
- while (a && a.parent && AutomationUtil.isInSameTree(a.parent, a))
- a = a.parent.root;
-
- b = b.root;
- while (b && b.parent && AutomationUtil.isInSameTree(b.parent, b))
- b = b.parent.root;
-
- return a == b;
-};
-
-/**
* Determines whether or not a node is or is the descendant of another node.
* @param {!AutomationNode} node
* @param {!AutomationNode} ancestor
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698