Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: Source/WebCore/platform/PlatformTouchEvent.h

Issue 13687007: Remove PLATFORM(BLACKBERRY) support. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/platform/PlatformTouchEvent.h
diff --git a/Source/WebCore/platform/PlatformTouchEvent.h b/Source/WebCore/platform/PlatformTouchEvent.h
index 8784da587b40288b8a77c8175926d752513b108a..7af33d75dfcad9921965ebc677f2b4dadb1b9f34 100644
--- a/Source/WebCore/platform/PlatformTouchEvent.h
+++ b/Source/WebCore/platform/PlatformTouchEvent.h
@@ -32,14 +32,6 @@ class QTouchEvent;
QT_END_NAMESPACE
#endif
-#if PLATFORM(BLACKBERRY)
-namespace BlackBerry {
-namespace Platform {
-class TouchEvent;
-};
-};
-#endif
-
namespace WebCore {
@@ -47,36 +39,13 @@ class PlatformTouchEvent : public PlatformEvent {
public:
PlatformTouchEvent()
: PlatformEvent(PlatformEvent::TouchStart)
-#if PLATFORM(BLACKBERRY)
- , m_rotation(0)
- , m_scale(1)
- , m_doubleTap(false)
- , m_touchHold(false)
-#endif
{
}
-#if PLATFORM(BLACKBERRY)
- explicit PlatformTouchEvent(BlackBerry::Platform::TouchEvent*);
-#endif
-
const Vector<PlatformTouchPoint>& touchPoints() const { return m_touchPoints; }
-#if PLATFORM(BLACKBERRY)
- float rotation() const { return m_rotation; }
- float scale() const { return m_scale; }
- bool doubleTap() const { return m_doubleTap; }
- bool touchHold() const { return m_touchHold; }
-#endif
-
protected:
Vector<PlatformTouchPoint> m_touchPoints;
-#if PLATFORM(BLACKBERRY)
- float m_rotation;
- float m_scale;
- bool m_doubleTap;
- bool m_touchHold;
-#endif
};
}

Powered by Google App Engine
This is Rietveld 408576698