diff options
Diffstat (limited to 'WebCore/platform/KeyboardCodes.h')
-rw-r--r-- | WebCore/platform/KeyboardCodes.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/WebCore/platform/KeyboardCodes.h b/WebCore/platform/KeyboardCodes.h index 48582a8..04ee071 100644 --- a/WebCore/platform/KeyboardCodes.h +++ b/WebCore/platform/KeyboardCodes.h @@ -33,7 +33,7 @@ // FIXME: We should get rid of these Chromium-related ifdefs. #if PLATFORM(CHROMIUM) -#if PLATFORM(WIN_OS) +#if OS(WINDOWS) #include "KeyboardCodesWin.h" #else #include "KeyboardCodesPosix.h" @@ -43,7 +43,7 @@ namespace WebCore { -#if !PLATFORM(WIN_OS) +#if !OS(WINDOWS) // VK_LBUTTON (01) Left mouse button // VK_RBUTTON (02) Right mouse button // VK_CANCEL (03) Control-break processing @@ -160,7 +160,7 @@ const int VK_DELETE = 0x2E; // VK_HELP (2F) HELP key const int VK_HELP = 0x2F; -#endif // PLATFORM(WIN_OS) +#endif // OS(WINDOWS) // (30) 0 key const int VK_0 = 0x30; @@ -271,7 +271,7 @@ const int VK_Y = 0x59; // (5A) Z key const int VK_Z = 0x5A; -#if !PLATFORM(WIN_OS) +#if !OS(WINDOWS) // VK_LWIN (5B) Left Windows key (Microsoft Natural keyboard) const int VK_LWIN = 0x5B; @@ -483,9 +483,9 @@ const int VK_MEDIA_LAUNCH_APP1 = 0xB6; // VK_LAUNCH_APP2 (B7) Windows 2000/XP: Start Application 2 key const int VK_MEDIA_LAUNCH_APP2 = 0xB7; -#endif // !PLATFORM(WIN_OS) +#endif // !OS(WINDOWS) -#if !PLATFORM(WIN_OS) || PLATFORM(WINCE) +#if !OS(WINDOWS) || OS(WINCE) // VK_OEM_1 (BA) Used for miscellaneous characters; it can vary by keyboard. Windows 2000/XP: For the US standard keyboard, the ';:' key const int VK_OEM_1 = 0xBA; @@ -523,9 +523,9 @@ const int VK_OEM_7 = 0xDE; // VK_OEM_8 (DF) Used for miscellaneous characters; it can vary by keyboard. const int VK_OEM_8 = 0xDF; -#endif // !PLATFORM(WIN_OS) || PLATFORM(WINCE) +#endif // !OS(WINDOWS) || OS(WINCE) -#if !PLATFORM(WIN_OS) +#if !OS(WINDOWS) // VK_OEM_102 (E2) Windows 2000/XP: Either the angle bracket key or the backslash key on the RT 102-key keyboard const int VK_OEM_102 = 0xE2; @@ -565,7 +565,7 @@ const int VK_OEM_CLEAR = 0xFE; const int VK_UNKNOWN = 0; -#endif // PLATFORM(WIN_OS) +#endif // OS(WINDOWS) } |