OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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. |
| 4 |
| 5 #ifndef UI_BASE_COCOA_A11Y_UTIL_H |
| 6 #define UI_BASE_COCOA_A11Y_UTIL_H |
| 7 |
| 8 #import <Cocoa/Cocoa.h> |
| 9 |
| 10 #include "ui/base/ui_base_export.h" |
| 11 |
| 12 namespace ui { |
| 13 namespace a11y_util { |
| 14 |
| 15 // Hides the given |view| from the accessibility order for Voice Over. This |
| 16 // should be used when the view provides no additional information with |
| 17 // voice over (i.e., an icon next to a written description of the icon). |
| 18 UI_BASE_EXPORT void HideImageFromAccessibilityOrder(NSImageView* view); |
| 19 |
| 20 } // namespace a11y_util |
| 21 } // namespace ui |
| 22 |
| 23 #endif // UI_BASE_COCOA_A11Y_UTIL_H |
OLD | NEW |