summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/accessibility/AXObjectCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/accessibility/AXObjectCache.h')
-rw-r--r--Source/WebCore/accessibility/AXObjectCache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/accessibility/AXObjectCache.h b/Source/WebCore/accessibility/AXObjectCache.h
index 4c231b5..4805a7f 100644
--- a/Source/WebCore/accessibility/AXObjectCache.h
+++ b/Source/WebCore/accessibility/AXObjectCache.h
@@ -96,7 +96,8 @@ public:
void handleScrollbarUpdate(ScrollView*);
static void enableAccessibility() { gAccessibilityEnabled = true; }
- static void enableEnhancedUserInterfaceAccessibility() { gAccessibilityEnhancedUserInterfaceEnabled = true; }
+ // Enhanced user interface accessibility can be toggled by the assistive technology.
+ static void setEnhancedUserInterfaceAccessibility(bool flag) { gAccessibilityEnhancedUserInterfaceEnabled = flag; }
static bool accessibilityEnabled() { return gAccessibilityEnabled; }
static bool accessibilityEnhancedUserInterfaceEnabled() { return gAccessibilityEnhancedUserInterfaceEnabled; }