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

Unified Diff: chrome/renderer/extensions/automation_internal_custom_bindings.h

Issue 1457683009: Complete live region support in ChromeVox Next. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/extensions/automation_internal_custom_bindings.h
diff --git a/chrome/renderer/extensions/automation_internal_custom_bindings.h b/chrome/renderer/extensions/automation_internal_custom_bindings.h
index 94e659db49367975c4e500cf5d63cbac24eb091c..23ba27515c9fcb3ba6548898887a47ece3afbe1f 100644
--- a/chrome/renderer/extensions/automation_internal_custom_bindings.h
+++ b/chrome/renderer/extensions/automation_internal_custom_bindings.h
@@ -74,6 +74,10 @@ class AutomationInternalCustomBindings : public ObjectBackedNativeHandler,
void DestroyAccessibilityTree(
const v8::FunctionCallbackInfo<v8::Value>& args);
+ // Set what types of tree change events should be sent to the client.
+ void SetTreeChangeObserverMask(
+ const v8::FunctionCallbackInfo<v8::Value>& args);
+
void RouteTreeIDFunction(const std::string& name,
void (*callback)(v8::Isolate* isolate,
v8::ReturnValue<v8::Value> result,
@@ -177,6 +181,7 @@ class AutomationInternalCustomBindings : public ObjectBackedNativeHandler,
base::hash_map<ui::AXTree*, TreeCache*> axtree_to_tree_cache_map_;
scoped_refptr<AutomationMessageFilter> message_filter_;
bool is_active_profile_;
+ api::automation::TreeChangeObserverMask tree_change_observer_mask_;
DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings);
};

Powered by Google App Engine
This is Rietveld 408576698