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

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

Issue 2857743006: Re-enable 3 DumpAccessibilityEvents tests that were disabled on windows. (Closed)
Patch Set: Rebase Created 3 years, 7 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
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698