OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H
_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H
_ |
6 #define CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H
_ | 6 #define CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H
_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 void DispatchAccessibilityEvent( | 81 void DispatchAccessibilityEvent( |
82 views::View* view, | 82 views::View* view, |
83 ui::AXEvent event); | 83 ui::AXEvent event); |
84 | 84 |
85 // Each of these methods constructs an AccessibilityControlInfo object | 85 // Each of these methods constructs an AccessibilityControlInfo object |
86 // and sends a notification of a specific accessibility event. | 86 // and sends a notification of a specific accessibility event. |
87 static void SendButtonNotification( | 87 static void SendButtonNotification( |
88 views::View* view, | 88 views::View* view, |
89 ui::AXEvent event, | 89 ui::AXEvent event, |
90 Profile* profile); | 90 Profile* profile); |
| 91 static void SendStaticTextNotification( |
| 92 views::View* view, |
| 93 ui::AXEvent event, |
| 94 Profile* profile); |
91 static void SendLinkNotification( | 95 static void SendLinkNotification( |
92 views::View* view, | 96 views::View* view, |
93 ui::AXEvent event, | 97 ui::AXEvent event, |
94 Profile* profile); | 98 Profile* profile); |
95 static void SendMenuNotification( | 99 static void SendMenuNotification( |
96 views::View* view, | 100 views::View* view, |
97 ui::AXEvent event, | 101 ui::AXEvent event, |
98 Profile* profile); | 102 Profile* profile); |
99 static void SendMenuItemNotification( | 103 static void SendMenuItemNotification( |
100 views::View* view, | 104 views::View* view, |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 Profile* most_recent_profile_; | 168 Profile* most_recent_profile_; |
165 | 169 |
166 // Notification registrar so we can clear most_recent_profile_ when a | 170 // Notification registrar so we can clear most_recent_profile_ when a |
167 // profile is destroyed. | 171 // profile is destroyed. |
168 content::NotificationRegistrar registrar_; | 172 content::NotificationRegistrar registrar_; |
169 | 173 |
170 DISALLOW_COPY_AND_ASSIGN(AccessibilityEventRouterViews); | 174 DISALLOW_COPY_AND_ASSIGN(AccessibilityEventRouterViews); |
171 }; | 175 }; |
172 | 176 |
173 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_ACCESSIBILITY_EVENT_ROUTER_VIEW
S_H_ | 177 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_ACCESSIBILITY_EVENT_ROUTER_VIEW
S_H_ |
OLD | NEW |