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

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

Issue 1413423003: Move some AX attrs from AXNodeData to AXTreeData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
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 "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "ui/accessibility/ax_node_data.h"
12 #include "ui/accessibility/ax_tree_data.h"
11 #include "ui/accessibility/ax_tree_update.h" 13 #include "ui/accessibility/ax_tree_update.h"
12 14
13 namespace content { 15 namespace content {
14 16
15 // Use this object in conjunction with the 17 // Use this object in conjunction with the
16 // |WebContentsObserver::AccessibilityEventReceived| method. 18 // |WebContentsObserver::AccessibilityEventReceived| method.
17 struct CONTENT_EXPORT AXEventNotificationDetails { 19 struct CONTENT_EXPORT AXEventNotificationDetails {
18 public: 20 public:
19 AXEventNotificationDetails(); 21 AXEventNotificationDetails();
20 ~AXEventNotificationDetails(); 22 ~AXEventNotificationDetails();
21 23
22 ui::AXTreeUpdate<ui::AXNodeData> update; 24 ui::AXTreeUpdate update;
23 ui::AXEvent event_type; 25 ui::AXEvent event_type;
24 int id; 26 int id;
25 int ax_tree_id; 27 int ax_tree_id;
26 }; 28 };
27 29
28 } // namespace content 30 } // namespace content
29 31
30 #endif // CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_ 32 #endif // CONTENT_PUBLIC_BROWSER_AX_EVENT_NOTIFICATION_DETAILS_H_
OLDNEW
« no previous file with comments | « content/common/ax_content_node_data.cc ('k') | content/renderer/accessibility/blink_ax_tree_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698