diff options
author | Ben Murdoch <benm@google.com> | 2010-03-01 12:14:11 +0000 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2010-03-11 17:16:08 +0000 |
commit | 0361ff17d43cdfdc6c9d3ae65e8716a4cbeed862 (patch) | |
tree | 6e1fcdc3029b7ad96fc502fdb7525243244aaa1f /WebCore/platform/android | |
parent | af63f0d78dd59f396707681f28fe70ab300fcd8d (diff) | |
download | external_webkit-0361ff17d43cdfdc6c9d3ae65e8716a4cbeed862.zip external_webkit-0361ff17d43cdfdc6c9d3ae65e8716a4cbeed862.tar.gz external_webkit-0361ff17d43cdfdc6c9d3ae65e8716a4cbeed862.tar.bz2 |
Prepare touch key modifiers for upstreaming.
Fix two compiler warnings in EventHandler.cpp
The webkit bug tracking this was https://bugs.webkit.org/show_bug.cgi?id=35521
and was landed to the WebKit tree as r55843.
Change-Id: Id49ba00d49bf98797a79b6f55b1cb1f906f5e0ad
Diffstat (limited to 'WebCore/platform/android')
-rw-r--r-- | WebCore/platform/android/PlatformTouchEventAndroid.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/WebCore/platform/android/PlatformTouchEventAndroid.cpp b/WebCore/platform/android/PlatformTouchEventAndroid.cpp index 0b3ac13..e33aec0 100644 --- a/WebCore/platform/android/PlatformTouchEventAndroid.cpp +++ b/WebCore/platform/android/PlatformTouchEventAndroid.cpp @@ -30,7 +30,6 @@ namespace WebCore { -// TODO(benm): This enum needs upstreaming. // These values should be kept in sync with those defined in the android.view.KeyEvent class from the Android SDK. enum AndroidMetaKeyState { META_SHIFT_ON = 0x01, @@ -38,14 +37,12 @@ enum AndroidMetaKeyState { META_SYM_ON = 0x04 }; -// TODO (benm): metaState are new and needs to be upstreamed. PlatformTouchEvent::PlatformTouchEvent(const IntPoint& windowPos, TouchEventType type, PlatformTouchPoint::State state, int metaState) : m_type(type) , m_metaKey(false) { m_touchPoints.append(PlatformTouchPoint(windowPos, state)); - // TODO(benm): metaState needs upstreaming. m_altKey = metaState & META_ALT_ON; m_shiftKey = metaState & META_SHIFT_ON; m_ctrlKey = metaState & META_SYM_ON; |