blob: 0f4d8dc25152e8fbd49f6e046949e3eef4476c73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
// 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(int node_id_to_clear,
const std::vector<ui::AXNodeData>& nodes,
ui::AXEvent event_type,
int id,
int process_id,
int routing_id);
~AXEventNotificationDetails();
int node_id_to_clear;
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_
|