| Index: ash/accessibility_delegate.h
|
| diff --git a/ash/accessibility_delegate.h b/ash/accessibility_delegate.h
|
| index 1f0f349ec5c9396ed9a36040b80ba76b2e01cba2..7bfd5b4428e99876e511fa378ed1039877119286 100644
|
| --- a/ash/accessibility_delegate.h
|
| +++ b/ash/accessibility_delegate.h
|
| @@ -15,6 +15,11 @@ enum AccessibilityNotificationVisibility {
|
| A11Y_NOTIFICATION_SHOW,
|
| };
|
|
|
| +enum AccessibilityAlert {
|
| + A11Y_ALERT_NONE,
|
| + A11Y_ALERT_WINDOW_NEEDED
|
| +};
|
| +
|
| // A deletate class to control accessibility features.
|
| class ASH_EXPORT AccessibilityDelegate {
|
| public:
|
| @@ -70,6 +75,12 @@ class ASH_EXPORT AccessibilityDelegate {
|
| // Gets a saved value of the zoom scale of full screen magnifier. If a value
|
| // is not saved, return a negative value.
|
| virtual double GetSavedScreenMagnifierScale() = 0;
|
| +
|
| + // Triggers an accessibility alert to give the user feedback.
|
| + virtual void TriggerAccessibilityAlert(AccessibilityAlert alert) = 0;
|
| +
|
| + // Gets the last accessibility alert that was triggered.
|
| + virtual AccessibilityAlert GetLastAccessibilityAlert() = 0;
|
| };
|
|
|
| } // namespace ash
|
|
|