ax_event_notification_details.h revision a1401311d1ab56c4ed0a474bd38c108f75cb0cd9
15f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved. 25f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 35f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// found in the LICENSE file. 45f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 55f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#ifndef CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ 65f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#define CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ 75f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 85f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#include <vector> 95f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 105f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#include "ui/accessibility/ax_enums.h" 115f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#include "ui/accessibility/ax_node_data.h" 125f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 135f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)namespace content { 145f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 155f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// Use this object in conjunction with the 165f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// |WebContentsObserver::AccessibilityEventReceived| method. 175f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)struct AXEventNotificationDetails { 181320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci public: 195f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) AXEventNotificationDetails(const std::vector<ui::AXNodeData>& nodes, 205f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) ui::AXEvent event_type, 215f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) int id, 225f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) int routing_id); 235f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 245f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) ~AXEventNotificationDetails(); 255f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 261320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci std::vector<ui::AXNodeData> nodes; 275f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) ui::AXEvent event_type; 285f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) int id; 295f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) int routing_id; 305f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)}; 315f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 325f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)} // namespace content 335f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 345f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#endif // CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ 355f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)