Popular sites on the NTP: Try to keep the ordering constant
[chromium-blink-merge.git] / content / public / browser / ax_event_notification_details.h
blobd4ee1d01cee864b589c8d794182e980f03e234c0
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_
8 #include <vector>
10 #include "content/common/content_export.h"
11 #include "ui/accessibility/ax_tree_update.h"
13 namespace content {
15 // Use this object in conjunction with the
16 // |WebContentsObserver::AccessibilityEventReceived| method.
17 struct CONTENT_EXPORT AXEventNotificationDetails {
18 public:
19 AXEventNotificationDetails();
20 ~AXEventNotificationDetails();
22 ui::AXTreeUpdate<ui::AXNodeData> update;
23 ui::AXEvent event_type;
24 int id;
25 int ax_tree_id;
28 } // namespace content
30 #endif // CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_