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

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

Issue 408103002: Added accessible name to bookmark_bar_instructions_view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chromevox now reads static text 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
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698