1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_
6 #define CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_
10 #include "content/common/content_export.h"
11 #include "ui/accessibility/ax_enums.h"
12 #include "ui/accessibility/ax_node_data.h"
16 // Use this object in conjunction with the
17 // |WebContentsObserver::AccessibilityEventReceived| method.
18 struct CONTENT_EXPORT AXEventNotificationDetails
{
20 AXEventNotificationDetails(
22 const std::vector
<ui::AXNodeData
>& nodes
,
23 ui::AXEvent event_type
,
25 std::map
<int32
, int> node_to_browser_plugin_instance_id_map
,
29 ~AXEventNotificationDetails();
32 std::vector
<ui::AXNodeData
> nodes
;
33 ui::AXEvent event_type
;
35 std::map
<int32
, int> node_to_browser_plugin_instance_id_map
;
40 } // namespace content
42 #endif // CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_