diff options
author | Patrick Scott <phanna@android.com> | 2009-12-02 08:32:13 -0500 |
---|---|---|
committer | Patrick Scott <phanna@android.com> | 2009-12-09 12:36:31 -0500 |
commit | 4b81185780aaef7695b652ceb7770e2307867c59 (patch) | |
tree | a2944783f6d398e343e6dfa87e62f8607a2a9680 /JavaScriptCore/wtf/Platform.h | |
parent | bf16ddc110ef3fde2cfa1ae43ab31d993377981d (diff) | |
download | external_webkit-4b81185780aaef7695b652ceb7770e2307867c59.zip external_webkit-4b81185780aaef7695b652ceb7770e2307867c59.tar.gz external_webkit-4b81185780aaef7695b652ceb7770e2307867c59.tar.bz2 |
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.
Diffstat (limited to 'JavaScriptCore/wtf/Platform.h')
-rw-r--r-- | JavaScriptCore/wtf/Platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) |