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

Unified Diff: content/browser/accessibility/browser_accessibility_manager_mac.h

Issue 2917363002: Automatically fire AX events on Mac based on tree changes (Closed)
Patch Set: Fix accidental shadowing of BrowserAccessibilityManager::OnAtomicUpdateFinished, caught by browser … Created 3 years, 6 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: content/browser/accessibility/browser_accessibility_manager_mac.h
diff --git a/content/browser/accessibility/browser_accessibility_manager_mac.h b/content/browser/accessibility/browser_accessibility_manager_mac.h
index 5f5f83c3a820a316301465d908e8c5094a76d038..0bb8d824d3233077605ebfcba013a47f375709df 100644
--- a/content/browser/accessibility/browser_accessibility_manager_mac.h
+++ b/content/browser/accessibility/browser_accessibility_manager_mac.h
@@ -46,9 +46,34 @@ class CONTENT_EXPORT BrowserAccessibilityManagerMac
private:
// AXTreeDelegate methods.
+ void OnTreeDataChanged(ui::AXTree* tree,
+ const ui::AXTreeData& old_tree_data,
+ const ui::AXTreeData& new_tree_data) override;
void OnNodeDataWillChange(ui::AXTree* tree,
const ui::AXNodeData& old_node_data,
const ui::AXNodeData& new_node_data) override;
+ void OnStateChanged(ui::AXTree* tree,
+ ui::AXNode* node,
+ ui::AXState state,
+ bool new_value) override;
+ void OnStringAttributeChanged(ui::AXTree* tree,
+ ui::AXNode* node,
+ ui::AXStringAttribute attr,
+ const std::string& old_value,
+ const std::string& new_value) override;
+ void OnIntAttributeChanged(ui::AXTree* tree,
+ ui::AXNode* node,
+ ui::AXIntAttribute attr,
+ int32_t old_value,
+ int32_t new_value) override;
+ void OnFloatAttributeChanged(ui::AXTree* tree,
+ ui::AXNode* node,
+ ui::AXFloatAttribute attr,
+ float old_value,
+ float new_value) override;
+ void OnAtomicUpdateFinished(ui::AXTree* tree,
+ bool root_changed,
+ const std::vector<Change>& changes) override;
// Returns an autoreleased object.
NSDictionary* GetUserInfoForSelectedTextChangedNotification();

Powered by Google App Engine
This is Rietveld 408576698