| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/accessibility/browser_accessibility_state_impl.h" | 5 #include "content/browser/accessibility/browser_accessibility_state_impl.h" |
| 6 | 6 |
| 7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
| 8 | 8 |
| 9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram_macros.h" |
| 10 | 10 |
| 11 @interface NSWorkspace (Partials) | 11 @interface NSWorkspace (Partials) |
| 12 | 12 |
| 13 @property(readonly) BOOL accessibilityDisplayShouldDifferentiateWithoutColor; | 13 @property(readonly) BOOL accessibilityDisplayShouldDifferentiateWithoutColor; |
| 14 @property(readonly) BOOL accessibilityDisplayShouldIncreaseContrast; | 14 @property(readonly) BOOL accessibilityDisplayShouldIncreaseContrast; |
| 15 @property(readonly) BOOL accessibilityDisplayShouldReduceTransparency; | 15 @property(readonly) BOOL accessibilityDisplayShouldReduceTransparency; |
| 16 | 16 |
| 17 @end | 17 @end |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 35 UMA_HISTOGRAM_BOOLEAN( | 35 UMA_HISTOGRAM_BOOLEAN( |
| 36 "Accessibility.Mac.ReduceTransparency", | 36 "Accessibility.Mac.ReduceTransparency", |
| 37 workspace.accessibilityDisplayShouldReduceTransparency); | 37 workspace.accessibilityDisplayShouldReduceTransparency); |
| 38 | 38 |
| 39 UMA_HISTOGRAM_BOOLEAN( | 39 UMA_HISTOGRAM_BOOLEAN( |
| 40 "Accessibility.Mac.FullKeyboardAccessEnabled", | 40 "Accessibility.Mac.FullKeyboardAccessEnabled", |
| 41 static_cast<NSApplication*>(NSApp).fullKeyboardAccessEnabled); | 41 static_cast<NSApplication*>(NSApp).fullKeyboardAccessEnabled); |
| 42 } | 42 } |
| 43 | 43 |
| 44 } // namespace content | 44 } // namespace content |
| OLD | NEW |