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

Unified Diff: chrome/renderer/resources/extensions/automation_custom_bindings.js

Issue 1457683009: Complete live region support in ChromeVox Next. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/renderer/resources/extensions/automation_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/automation_custom_bindings.js b/chrome/renderer/resources/extensions/automation_custom_bindings.js
index 1d8c13f4bf5d7b401569793d6f92ba93ae21e5a8..bfc201a7de2f0e8a60cb9c17631b988c21e1e5aa 100644
--- a/chrome/renderer/resources/extensions/automation_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/automation_custom_bindings.js
@@ -22,6 +22,8 @@ var DestroyAccessibilityTree =
var GetIntAttribute = nativeAutomationInternal.GetIntAttribute;
var StartCachingAccessibilityTrees =
nativeAutomationInternal.StartCachingAccessibilityTrees;
+var SetTreeChangeObserverMask =
+ nativeAutomationInternal.SetTreeChangeObserverMask;
var schema = GetSchemaAdditions();
/**
@@ -128,6 +130,14 @@ automation.registerCustomHook(function(bindingsAPI) {
addTreeChangeObserver(observer);
});
+ function setTreeChangeObserverMask(mask) {
+ SetTreeChangeObserverMask(mask);
+ }
+ apiFunctions.setHandleRequest('setTreeChangeObserverMask',
+ function(mask) {
+ setTreeChangeObserverMask(mask);
+ });
+
apiFunctions.setHandleRequest('setDocumentSelection', function(params) {
var anchorNodeImpl = privates(params.anchorObject).impl;
var focusNodeImpl = privates(params.focusObject).impl;

Powered by Google App Engine
This is Rietveld 408576698