| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 ui::AccessibilityTypes::Event event, | 111 ui::AccessibilityTypes::Event event, |
| 112 Profile* profile); | 112 Profile* profile); |
| 113 static void SendWindowNotification( | 113 static void SendWindowNotification( |
| 114 views::View* view, | 114 views::View* view, |
| 115 ui::AccessibilityTypes::Event event, | 115 ui::AccessibilityTypes::Event event, |
| 116 Profile* profile); | 116 Profile* profile); |
| 117 static void SendSliderNotification( | 117 static void SendSliderNotification( |
| 118 views::View* view, | 118 views::View* view, |
| 119 ui::AccessibilityTypes::Event event, | 119 ui::AccessibilityTypes::Event event, |
| 120 Profile* profile); | 120 Profile* profile); |
| 121 static void SendAlertControlNotification( |
| 122 views::View* view, |
| 123 ui::AccessibilityTypes::Event event, |
| 124 Profile* profile); |
| 121 | 125 |
| 122 // Return the name of a view. | 126 // Return the name of a view. |
| 123 static std::string GetViewName(views::View* view); | 127 static std::string GetViewName(views::View* view); |
| 124 | 128 |
| 125 // Get the context of a view - the name of the enclosing group, toolbar, etc. | 129 // Get the context of a view - the name of the enclosing group, toolbar, etc. |
| 126 static std::string GetViewContext(views::View* view); | 130 static std::string GetViewContext(views::View* view); |
| 127 | 131 |
| 128 // Return a descendant of this view with a given accessible role, if found. | 132 // Return a descendant of this view with a given accessible role, if found. |
| 129 static views::View* FindDescendantWithAccessibleRole( | 133 static views::View* FindDescendantWithAccessibleRole( |
| 130 views::View* view, | 134 views::View* view, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 150 Profile* most_recent_profile_; | 154 Profile* most_recent_profile_; |
| 151 | 155 |
| 152 // Notification registrar so we can clear most_recent_profile_ when a | 156 // Notification registrar so we can clear most_recent_profile_ when a |
| 153 // profile is destroyed. | 157 // profile is destroyed. |
| 154 content::NotificationRegistrar registrar_; | 158 content::NotificationRegistrar registrar_; |
| 155 | 159 |
| 156 DISALLOW_COPY_AND_ASSIGN(AccessibilityEventRouterViews); | 160 DISALLOW_COPY_AND_ASSIGN(AccessibilityEventRouterViews); |
| 157 }; | 161 }; |
| 158 | 162 |
| 159 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_ACCESSIBILITY_EVENT_ROUTER_VIEW
S_H_ | 163 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_ACCESSIBILITY_EVENT_ROUTER_VIEW
S_H_ |
| OLD | NEW |