Create a windowsx_shim.h for windowsx.h patching

Despite existing undefs, windowsx.h macros cause troubles with
some jumbo builds. We can add more undefs, or we can change
approach to this, a windowsx_shim.h that solves the same
problem at one place instead of many.

The macros that have caused the most problems are IsMaximized,
IsMinimized and IsRestored which are common names to use in
code that manages windows.

Change-Id: Ib5f429aaeca4c35962c17a9973274e486b510c2f
Reviewed-by: Scott Violet <>
Reviewed-by: Bruce Dawson <>
Commit-Queue: Daniel Bratell <>
Cr-Commit-Position: refs/heads/master@{#600422}
8 files changed