[Chromoting] Run jscompile over JS for HTML files (GN-only)
[chromium-blink-merge.git] / content / browser / accessibility / accessibility_mode_helper.h
blobc741173ee7b2504b92fefb656448ab5483d3db8e
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_MODE_HELPER_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_MODE_HELPER_H_
8 #include "content/common/accessibility_mode_enums.h"
9 #include "content/common/content_export.h"
11 namespace content {
13 // Returns base accessibility mode constant, depends on OS version.
14 CONTENT_EXPORT AccessibilityMode GetBaseAccessibilityMode();
16 // Adds the given accessibility mode constant to the given accessibility mode
17 // bitmap.
18 CONTENT_EXPORT AccessibilityMode
19 AddAccessibilityModeTo(AccessibilityMode to, AccessibilityMode mode_to_add);
21 // Removes the given accessibility mode constant from the given accessibility
22 // mode bitmap, managing the bits that are shared with other modes such that a
23 // bit will only be turned off when all modes that depend on it have been
24 // removed.
25 CONTENT_EXPORT AccessibilityMode
26 RemoveAccessibilityModeFrom(AccessibilityMode to,
27 AccessibilityMode mode_to_remove);
29 } // namespace content
31 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_MODE_HELPER_H_