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

Unified Diff: chrome/browser/ui/cocoa/status_bubble_mac.mm

Issue 7982033: Prevent VoiceOver from announcing omnibox and status bubble overlay windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add same override to status bubbles. Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/status_bubble_mac.mm
diff --git a/chrome/browser/ui/cocoa/status_bubble_mac.mm b/chrome/browser/ui/cocoa/status_bubble_mac.mm
index 1d05d9899e34acb7d6703fb9e3c428b2c3876f1c..0dcac6cd41bd18a14fb93c3013b6151552d63001 100644
--- a/chrome/browser/ui/cocoa/status_bubble_mac.mm
+++ b/chrome/browser/ui/cocoa/status_bubble_mac.mm
@@ -377,6 +377,10 @@ void StatusBubbleMac::Create() {
[window_ setAlphaValue:0.0];
+ // TODO(dtseng): Ignore until we provide NSAccessibility support.
+ [window_ accessibilitySetOverrideValue:NSAccessibilityUnknownRole
+ forAttribute:NSAccessibilityRoleAttribute];
+
// Set a delegate for the fade-in and fade-out transitions to be notified
// when fades are complete. The ownership model is for window_ to own
// animation_dictionary, which owns animation, which owns
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698