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

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: 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 5be7c9d250c7336dfdf28f34c761e694672e233d..21ef7d1e13fb0f3a8424f23716d3286cb14edf2a 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,
@@ -169,6 +173,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_;
Peter Lundblad 2015/11/20 13:42:59 Just to make sure, thee's one of these per extensi
dmazzoni 2015/11/23 20:16:50 Yes.
DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings);
};

Powered by Google App Engine
This is Rietveld 408576698