| 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_
|
|
|