diff options
Diffstat (limited to 'chromium/content/public/browser/ax_event_notification_details.h')
-rw-r--r-- | chromium/content/public/browser/ax_event_notification_details.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/chromium/content/public/browser/ax_event_notification_details.h b/chromium/content/public/browser/ax_event_notification_details.h new file mode 100644 index 00000000000..3065e59d52f --- /dev/null +++ b/chromium/content/public/browser/ax_event_notification_details.h @@ -0,0 +1,37 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ +#define CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ + +#include <vector> + +#include "content/common/content_export.h" +#include "ui/accessibility/ax_enums.h" +#include "ui/accessibility/ax_node_data.h" + +namespace content { + +// Use this object in conjunction with the +// |WebContentsObserver::AccessibilityEventReceived| method. +struct CONTENT_EXPORT AXEventNotificationDetails { + public: + AXEventNotificationDetails(const std::vector<ui::AXNodeData>& nodes, + ui::AXEvent event_type, + int id, + int process_id, + int routing_id); + + ~AXEventNotificationDetails(); + + std::vector<ui::AXNodeData> nodes; + ui::AXEvent event_type; + int id; + int process_id; + int routing_id; +}; + +} // namespace content + +#endif // CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ |