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

Unified Diff: content/browser/accessibility/browser_accessibility_cocoa.mm

Issue 2151713002: Less strict checked state changes and introduce disabled state for content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: m Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/accessibility/browser_accessibility_cocoa.mm
diff --git a/content/browser/accessibility/browser_accessibility_cocoa.mm b/content/browser/accessibility/browser_accessibility_cocoa.mm
index 6b6a156d06e93483d2319e388734eeb19c24a3c5..c0ac8724df34f9d6b430be29095fcc186754ff4b 100644
--- a/content/browser/accessibility/browser_accessibility_cocoa.mm
+++ b/content/browser/accessibility/browser_accessibility_cocoa.mm
@@ -868,7 +868,7 @@ bool InitializeAccessibilityTreeSearch(
if (![self instanceActive])
return nil;
return [NSNumber numberWithBool:
- GetState(browserAccessibility_, ui::AX_STATE_ENABLED)];
+ !GetState(browserAccessibility_, ui::AX_STATE_DISABLED)];
}
// Returns a text marker that points to the last character in the document that

Powered by Google App Engine
This is Rietveld 408576698