OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_EVENT_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_EVENT_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_EVENT_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_EVENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "content/browser/accessibility/browser_accessibility.h" | 10 #include "content/browser/accessibility/browser_accessibility.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "ui/accessibility/ax_enums.h" | 12 |
| 13 namespace ui { |
| 14 enum AXEvent : int; |
| 15 } |
13 | 16 |
14 namespace content { | 17 namespace content { |
15 | 18 |
16 class BrowserAccessibility; | 19 class BrowserAccessibility; |
17 | 20 |
18 class CONTENT_EXPORT BrowserAccessibilityEvent { | 21 class CONTENT_EXPORT BrowserAccessibilityEvent { |
19 public: | 22 public: |
20 enum Source { | 23 enum Source { |
21 FromBlink, | 24 FromBlink, |
22 FromChildFrameLoading, | 25 FromChildFrameLoading, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 const BrowserAccessibility* target_; | 79 const BrowserAccessibility* target_; |
77 const BrowserAccessibility* original_target_; | 80 const BrowserAccessibility* original_target_; |
78 | 81 |
79 private: | 82 private: |
80 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityEvent); | 83 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityEvent); |
81 }; | 84 }; |
82 | 85 |
83 } // namespace content | 86 } // namespace content |
84 | 87 |
85 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_EVENT_H_ | 88 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_EVENT_H_ |
OLD | NEW |