Index: content/browser/accessibility/browser_accessibility_manager.h |
diff --git a/content/browser/accessibility/browser_accessibility_manager.h b/content/browser/accessibility/browser_accessibility_manager.h |
index a0bb255b8e5320ee1e69bfa70b61bb9d939afd7a..6bd0d1b1d1c04f39ba14d51e7013f64c28e5a224 100644 |
--- a/content/browser/accessibility/browser_accessibility_manager.h |
+++ b/content/browser/accessibility/browser_accessibility_manager.h |
@@ -441,6 +441,11 @@ class CONTENT_EXPORT BrowserAccessibilityManager : public ui::AXTreeDelegate { |
// A mapping from a node id to its wrapper of type BrowserAccessibility. |
base::hash_map<int32_t, BrowserAccessibility*> id_wrapper_map_; |
+ // A list of accessibility events to fire based on changes to the |
+ // accessibility tree. Only used within the scope of one call to |
+ // OnAccessibilityEvents, so it's safe to store raw pointers. |
+ std::vector<std::pair<ui::AXEvent, BrowserAccessibility*>> tree_events_; |
+ |
// True if the user has initiated a navigation to another page. |
bool user_is_navigating_away_; |