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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_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 | « no previous file | chrome/browser/ui/cocoa/status_bubble_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
index f73d25c4409566ca30aa6c03e36d79514092bc1a..5335a34cf96799824f1a24d6f5c957d170e41df6 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
@@ -344,6 +344,10 @@ void OmniboxPopupViewMac::CreatePopupIfNeeded() {
[contentView addSubview:matrix];
[popup_ setContentView:contentView];
+
+ // TODO(dtseng): Ignore until we provide NSAccessibility support.
+ [popup_ accessibilitySetOverrideValue:NSAccessibilityUnknownRole
+ forAttribute:NSAccessibilityRoleAttribute];
}
}
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/status_bubble_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698