Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / content / public / browser / ax_event_notification_details.h
blob4173b8223b06cb9c2d09830cea572fd92afaae6c
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_enums.h"
12 #include "ui/accessibility/ax_node_data.h"
14 namespace content {
16 // Use this object in conjunction with the
17 // |WebContentsObserver::AccessibilityEventReceived| method.
18 struct CONTENT_EXPORT AXEventNotificationDetails {
19 public:
20 AXEventNotificationDetails(
21 int node_id_to_clear,
22 const std::vector<ui::AXNodeData>& nodes,
23 ui::AXEvent event_type,
24 int id,
25 std::map<int32, int> node_to_browser_plugin_instance_id_map,
26 int process_id,
27 int routing_id);
29 ~AXEventNotificationDetails();
31 int node_id_to_clear;
32 std::vector<ui::AXNodeData> nodes;
33 ui::AXEvent event_type;
34 int id;
35 std::map<int32, int> node_to_browser_plugin_instance_id_map;
36 int process_id;
37 int routing_id;
40 } // namespace content
42 #endif // CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_