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

Side by Side Diff: chrome/browser/ui/views/accessibility/accessibility_event_router_views.h

Issue 414203002: Modified tab change to work with status tray change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit fix Created 6 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698