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

Unified Diff: content/browser/accessibility/accessibility_event_recorder_mac.mm

Issue 2897943003: Fix DumpAccessibilityEvents tests on Mac and improve test coverage (Closed)
Patch Set: Rebaseline one more windows test 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.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/accessibility_event_recorder_mac.mm
diff --git a/content/browser/accessibility/accessibility_event_recorder_mac.mm b/content/browser/accessibility/accessibility_event_recorder_mac.mm
index bd79e68b7321f748ff02403610aec5a249ab190b..a88f9ce4b4f0ce92261291161e7d604ad7f79c3a 100644
--- a/content/browser/accessibility/accessibility_event_recorder_mac.mm
+++ b/content/browser/accessibility/accessibility_event_recorder_mac.mm
@@ -77,18 +77,22 @@ AccessibilityEventRecorderMac::AccessibilityEventRecorderMac(
LOG(FATAL) << "Failed to create AXUIElement for application.";
// Add the notifications we care about to the observer.
+ AddNotification(@"AXAutocorrectionOccurred");
+ AddNotification(@"AXExpandedChanged");
+ AddNotification(@"AXInvalidStatusChanged");
+ AddNotification(@"AXLiveRegionChanged");
+ AddNotification(@"AXLiveRegionCreated");
+ AddNotification(@"AXLoadComplete");
+ AddNotification(@"AXMenuItemSelected");
+ AddNotification(@"AXRowCollapsed");
+ AddNotification(@"AXRowExpanded");
AddNotification(NSAccessibilityFocusedUIElementChangedNotification);
+ AddNotification(NSAccessibilityRowCollapsedNotification);
AddNotification(NSAccessibilityRowCountChangedNotification);
AddNotification(NSAccessibilitySelectedChildrenChangedNotification);
AddNotification(NSAccessibilitySelectedRowsChangedNotification);
AddNotification(NSAccessibilitySelectedTextChangedNotification);
AddNotification(NSAccessibilityValueChangedNotification);
- AddNotification(@"AXExpandedChanged");
- AddNotification(@"AXLayoutComplete");
- AddNotification(@"AXLiveRegionChanged");
- AddNotification(@"AXLoadComplete");
- AddNotification(@"AXRowCollapsed");
- AddNotification(@"AXRowExpanded");
// Add the observer to the current message loop.
observer_run_loop_source_ = AXObserverGetRunLoopSource(observer_ref_.get());
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698