From f5306da72ab6bb63f7ae07371e687f72a75c2fb2 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Thu, 7 Jan 2010 16:20:05 +0000 Subject: Refactor our touch event code to use the version submitted to webkit.org by the Qt team. Change-Id: I2953472cee68aadf18f9dd740e9b3f69ad729cf0 --- WebCore/dom/TouchList.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'WebCore/dom/TouchList.h') diff --git a/WebCore/dom/TouchList.h b/WebCore/dom/TouchList.h index fa5fc80..f5033c9 100644 --- a/WebCore/dom/TouchList.h +++ b/WebCore/dom/TouchList.h @@ -26,7 +26,7 @@ #ifndef TOUCHLIST_H_ #define TOUCHLIST_H_ -#if ENABLE(TOUCH_EVENTS) // Android +#if ENABLE(TOUCH_EVENTS) #include #include @@ -34,24 +34,24 @@ namespace WebCore { - class TouchList : public RefCounted { - public: - static PassRefPtr create() - { - return adoptRef(new TouchList); - } +class TouchList : public RefCounted { +public: + static PassRefPtr create() + { + return adoptRef(new TouchList); + } - unsigned length() const { return m_values.size(); } + unsigned length() const { return m_values.size(); } - Touch* item (unsigned); + Touch* item(unsigned); - void append(const PassRefPtr touch) { m_values.append(touch); } + void append(const PassRefPtr touch) { m_values.append(touch); } - private: - TouchList() {} +private: + TouchList() {} - Vector > m_values; - }; + Vector > m_values; +}; } // namespace WebCore -- cgit v1.1