| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 const content::NotificationSource& source, | 60 const content::NotificationSource& source, |
| 61 const content::NotificationDetails& details) OVERRIDE; | 61 const content::NotificationDetails& details) OVERRIDE; |
| 62 | 62 |
| 63 private: | 63 private: |
| 64 friend struct DefaultSingletonTraits<AccessibilityEventRouterViews>; | 64 friend struct DefaultSingletonTraits<AccessibilityEventRouterViews>; |
| 65 | 65 |
| 66 FRIEND_TEST_ALL_PREFIXES(AccessibilityEventRouterViewsTest, | 66 FRIEND_TEST_ALL_PREFIXES(AccessibilityEventRouterViewsTest, |
| 67 TestFocusNotification); | 67 TestFocusNotification); |
| 68 FRIEND_TEST_ALL_PREFIXES(AccessibilityEventRouterViewsTest, | 68 FRIEND_TEST_ALL_PREFIXES(AccessibilityEventRouterViewsTest, |
| 69 MenuIndexAndCountForInvisibleMenu); | 69 MenuIndexAndCountForInvisibleMenu); |
| 70 FRIEND_TEST_ALL_PREFIXES(AccessibilityEventRouterViewsTest, |
| 71 AccessibilityFocusableView); |
| 70 | 72 |
| 71 AccessibilityEventRouterViews(); | 73 AccessibilityEventRouterViews(); |
| 72 virtual ~AccessibilityEventRouterViews(); | 74 virtual ~AccessibilityEventRouterViews(); |
| 73 | 75 |
| 74 // Call DispatchAccessibilityEvent using a view storage id. | 76 // Call DispatchAccessibilityEvent using a view storage id. |
| 75 static void DispatchEventOnViewStorageId( | 77 static void DispatchEventOnViewStorageId( |
| 76 int view_storage_id, | 78 int view_storage_id, |
| 77 ui::AXEvent event); | 79 ui::AXEvent event); |
| 78 | 80 |
| 79 // Checks the type of the view and calls one of the more specific | 81 // Checks the type of the view and calls one of the more specific |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 const int most_recent_view_id_; | 180 const int most_recent_view_id_; |
| 179 | 181 |
| 180 // Notification registrar so we can clear most_recent_profile_ when a | 182 // Notification registrar so we can clear most_recent_profile_ when a |
| 181 // profile is destroyed. | 183 // profile is destroyed. |
| 182 content::NotificationRegistrar registrar_; | 184 content::NotificationRegistrar registrar_; |
| 183 | 185 |
| 184 DISALLOW_COPY_AND_ASSIGN(AccessibilityEventRouterViews); | 186 DISALLOW_COPY_AND_ASSIGN(AccessibilityEventRouterViews); |
| 185 }; | 187 }; |
| 186 | 188 |
| 187 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_ACCESSIBILITY_EVENT_ROUTER_VIEW
S_H_ | 189 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_ACCESSIBILITY_EVENT_ROUTER_VIEW
S_H_ |
| OLD | NEW |