From a9237986ab5f440c5bf856ac8d2e1beff9a7caf6 Mon Sep 17 00:00:00 2001 From: Chris Peterson Date: Mon, 6 Feb 2017 13:25:17 -0800 Subject: [PATCH] Bug 1336778 - Part 3a: Remove always-false #if WINVER < 0x0601 (Windows 7) checks in nsLookAndFeel.h. r=jimm MozReview-Commit-ID: 4ffv8S2LShO --HG-- extra : rebase_source : fa54ca7eb202a55cac1fc4113d9cd5ac00affc35 --- widget/windows/nsLookAndFeel.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/widget/windows/nsLookAndFeel.h b/widget/windows/nsLookAndFeel.h index cf2d3ed5adf4..c931d389a7d0 100644 --- a/widget/windows/nsLookAndFeel.h +++ b/widget/windows/nsLookAndFeel.h @@ -5,6 +5,7 @@ #ifndef __nsLookAndFeel #define __nsLookAndFeel + #include "nsXPLookAndFeel.h" /* @@ -28,20 +29,6 @@ #define SM_CONVERTIBLESLATEMODE 0x00002003 #define SM_SYSTEMDOCKED 0x00002004 #endif -#if WINVER < 0x0601 -typedef enum _AR_STATE -{ - AR_ENABLED = 0x0, - AR_DISABLED = 0x1, - AR_SUPPRESSED = 0x2, - AR_REMOTESESSION = 0x4, - AR_MULTIMON = 0x8, - AR_NOSENSOR = 0x10, - AR_NOT_SUPPORTED = 0x20, - AR_DOCKED = 0x40, - AR_LAPTOP = 0x80 -} AR_STATE, *PAR_STATE; -#endif class nsLookAndFeel: public nsXPLookAndFeel { static OperatingSystemVersion GetOperatingSystemVersion();