Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: content/public/browser/ax_event_notification_details.h

Issue 203753002: Implement actions for Automation API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable test on Mac. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "ui/accessibility/ax_enums.h" 10 #include "ui/accessibility/ax_enums.h"
11 #include "ui/accessibility/ax_node_data.h" 11 #include "ui/accessibility/ax_node_data.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 // Use this object in conjunction with the 15 // Use this object in conjunction with the
16 // |WebContentsObserver::AccessibilityEventReceived| method. 16 // |WebContentsObserver::AccessibilityEventReceived| method.
17 struct AXEventNotificationDetails { 17 struct AXEventNotificationDetails {
18 public: 18 public:
19 AXEventNotificationDetails(const std::vector<ui::AXNodeData>& nodes, 19 AXEventNotificationDetails(const std::vector<ui::AXNodeData>& nodes,
20 ui::AXEvent event_type, 20 ui::AXEvent event_type,
21 int id, 21 int id,
22 int process_id,
22 int routing_id); 23 int routing_id);
23 24
24 ~AXEventNotificationDetails(); 25 ~AXEventNotificationDetails();
25 26
26 std::vector<ui::AXNodeData> nodes; 27 std::vector<ui::AXNodeData> nodes;
27 ui::AXEvent event_type; 28 ui::AXEvent event_type;
28 int id; 29 int id;
30 int process_id;
29 int routing_id; 31 int routing_id;
30 }; 32 };
31 33
32 } // namespace content 34 } // namespace content
33 35
34 #endif // CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ 36 #endif // CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.h ('k') | content/public/browser/ax_event_notification_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698