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

Unified Diff: content/public/browser/ax_event_notification_details.h

Issue 2255093005: Pass accessible location change messages to the automation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Speculative fix to cast_shell Created 4 years, 4 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 | « content/common/accessibility_messages.h ('k') | content/public/browser/ax_event_notification_details.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/ax_event_notification_details.h
diff --git a/content/public/browser/ax_event_notification_details.h b/content/public/browser/ax_event_notification_details.h
index 7054452e820dcb25a2b20e76618fceb8926ef09a..0f2e3cdef916fa8f1f9b93853eea1088d42decc3 100644
--- a/content/public/browser/ax_event_notification_details.h
+++ b/content/public/browser/ax_event_notification_details.h
@@ -9,6 +9,7 @@
#include "content/common/content_export.h"
#include "ui/accessibility/ax_node_data.h"
+#include "ui/accessibility/ax_relative_bounds.h"
#include "ui/accessibility/ax_tree_data.h"
#include "ui/accessibility/ax_tree_update.h"
@@ -28,6 +29,20 @@ struct CONTENT_EXPORT AXEventNotificationDetails {
int ax_tree_id;
};
+// Use this object in conjunction with the
+// |WebContentsObserver::AccessibilityLocationChangeReceived| method.
+struct CONTENT_EXPORT AXLocationChangeNotificationDetails {
+ public:
+ AXLocationChangeNotificationDetails();
+ AXLocationChangeNotificationDetails(
+ const AXLocationChangeNotificationDetails& other);
+ ~AXLocationChangeNotificationDetails();
+
+ int id;
+ int ax_tree_id;
+ ui::AXRelativeBounds new_location;
+};
+
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_
« no previous file with comments | « content/common/accessibility_messages.h ('k') | content/public/browser/ax_event_notification_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698