OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ |
6 #define CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| 11 #include "ui/accessibility/ax_node_data.h" |
| 12 #include "ui/accessibility/ax_tree_data.h" |
11 #include "ui/accessibility/ax_tree_update.h" | 13 #include "ui/accessibility/ax_tree_update.h" |
12 | 14 |
13 namespace content { | 15 namespace content { |
14 | 16 |
15 // Use this object in conjunction with the | 17 // Use this object in conjunction with the |
16 // |WebContentsObserver::AccessibilityEventReceived| method. | 18 // |WebContentsObserver::AccessibilityEventReceived| method. |
17 struct CONTENT_EXPORT AXEventNotificationDetails { | 19 struct CONTENT_EXPORT AXEventNotificationDetails { |
18 public: | 20 public: |
19 AXEventNotificationDetails(); | 21 AXEventNotificationDetails(); |
20 ~AXEventNotificationDetails(); | 22 ~AXEventNotificationDetails(); |
21 | 23 |
22 ui::AXTreeUpdate<ui::AXNodeData> update; | 24 ui::AXTreeUpdate update; |
23 ui::AXEvent event_type; | 25 ui::AXEvent event_type; |
24 int id; | 26 int id; |
25 int ax_tree_id; | 27 int ax_tree_id; |
26 }; | 28 }; |
27 | 29 |
28 } // namespace content | 30 } // namespace content |
29 | 31 |
30 #endif // CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ | 32 #endif // CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ |
OLD | NEW |