From 4b81185780aaef7695b652ceb7770e2307867c59 Mon Sep 17 00:00:00 2001 From: Patrick Scott Date: Wed, 2 Dec 2009 08:32:13 -0500 Subject: Enable orientation events. Remove our old orientation hacks as webkit now supports the orientation event. Call down into webkit when the orientation changes to send the js event. The change to Frame.cpp has been submited to bugs.webkit.org as issue 32321. --- JavaScriptCore/wtf/Platform.h | 1 + 1 file changed, 1 insertion(+) (limited to 'JavaScriptCore/wtf/Platform.h') diff --git a/JavaScriptCore/wtf/Platform.h b/JavaScriptCore/wtf/Platform.h index 888f6a8..20c030b 100644 --- a/JavaScriptCore/wtf/Platform.h +++ b/JavaScriptCore/wtf/Platform.h @@ -520,6 +520,7 @@ // This prevents unnecessary invals. #define ENABLE_TEXT_CARET 1 #define ENABLE_JAVASCRIPT_DEBUGGER 0 +#define ENABLE_ORIENTATION_EVENTS 1 #endif #if PLATFORM(WIN) -- cgit v1.1