| Index: content/public/common/accessibility_mode.h
|
| diff --git a/content/public/common/accessibility_mode.h b/content/public/common/accessibility_mode.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f2820711796a178dfd2070b6ee2445d128de8c59
|
| --- /dev/null
|
| +++ b/content/public/common/accessibility_mode.h
|
| @@ -0,0 +1,27 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_PUBLIC_COMMON_ACCESSIBILITY_MODE_H_
|
| +#define CONTENT_PUBLIC_COMMON_ACCESSIBILITY_MODE_H_
|
| +
|
| +namespace content {
|
| +
|
| +enum AccessibilityMode {
|
| + // WebKit accessibility is off and no accessibility information is
|
| + // sent from the renderer to the browser process.
|
| + AccessibilityModeOff,
|
| +
|
| + // WebKit accessibility is on, but only limited information about
|
| + // editable text nodes is sent to the browser process. Useful for
|
| + // implementing limited UIA on tablets.
|
| + AccessibilityModeEditableTextOnly,
|
| +
|
| + // WebKit accessibility is on, and the full accessibility tree is synced
|
| + // to the browser process. Useful for screen readers and magnifiers.
|
| + AccessibilityModeComplete,
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_COMMON_ACCESSIBILITY_MODE_H_
|
|
|