summaryrefslogtreecommitdiffstats
path: root/WebCore/dom
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2010-02-02 19:08:37 -0800
committerGrace Kloba <klobag@google.com>2010-02-03 09:45:07 -0800
commit22c64e5cc7b7c54cea1cf6cb3bb1021f072e365c (patch)
treed556cec3ecc5cbbde2ada12a9d5100d4c73d7d62 /WebCore/dom
parent52d25f0b47a8bb2c38de3a8429316221f742b8f9 (diff)
downloadexternal_webkit-22c64e5cc7b7c54cea1cf6cb3bb1021f072e365c.zip
external_webkit-22c64e5cc7b7c54cea1cf6cb3bb1021f072e365c.tar.gz
external_webkit-22c64e5cc7b7c54cea1cf6cb3bb1021f072e365c.tar.bz2
Pass touch event time from Java to WebKit
merge from https://android-git.corp.google.com/g/#change,39356
Diffstat (limited to 'WebCore/dom')
-rw-r--r--WebCore/dom/Event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/dom/Event.h b/WebCore/dom/Event.h
index 4624663..9b55bb8 100644
--- a/WebCore/dom/Event.h
+++ b/WebCore/dom/Event.h
@@ -153,6 +153,10 @@ namespace WebCore {
bool createdByDOM() const { return m_createdByDOM; }
void setCreatedByDOM(bool createdByDOM) { m_createdByDOM = createdByDOM; }
+#if PLATFORM(ANDROID)
+ void setCreateTime(DOMTimeStamp time) { m_createTime = time; }
+#endif
+
protected:
Event();
Event(const AtomicString& type, bool canBubble, bool cancelable);