[Webkit-unassigned] [Bug 147786] Web Inspector: AX: Support increased contrast mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 7 11:53:22 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=147786

--- Comment #3 from Matt Baker <mattbaker at apple.com> ---
For OS X, AppKit's NSWorkspace class exposes the accessibilityDisplayShouldIncreaseContrast property and 
NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification notification.

For the Windows port, winuser.h defines the SystemParametersInfo function:

HIGHCONTRAST highContrast;
highContrast.cbSize = sizeof(HIGHCONTRAST);
SystemParametersInfo(SPI_GETHIGHCONTRAST, sizeof(HIGHCONTRAST), & highContrast, 0);

As for detecting changes, I think we'd want to handle the WM_SETTINGCHANGE message, which is sent to all top-level windows when a system parameter changes. But I'm not positive about this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150807/e3aa46bc/attachment.html>


More information about the webkit-unassigned mailing list