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

Unified Diff: third_party/WebKit/Source/platform/PlatformTouchEvent.h

Issue 2646163002: Remove PlatformTouchEvent/Point and use WebTouchEvent/Point instead (Closed)
Patch Set: Fix nit Created 3 years, 11 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: third_party/WebKit/Source/platform/PlatformTouchEvent.h
diff --git a/third_party/WebKit/Source/platform/PlatformTouchEvent.h b/third_party/WebKit/Source/platform/PlatformTouchEvent.h
deleted file mode 100644
index 5bc54881017e052891a7830249c5136b09ff4aec..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/platform/PlatformTouchEvent.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies)
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef PlatformTouchEvent_h
-#define PlatformTouchEvent_h
-
-#include "platform/PlatformEvent.h"
-#include "platform/PlatformTouchPoint.h"
-#include "wtf/Vector.h"
-
-namespace blink {
-
-class PlatformTouchEvent : public PlatformEvent {
- public:
- PlatformTouchEvent()
- : PlatformEvent(PlatformEvent::TouchStart),
- m_dispatchType(PlatformEvent::Blocking),
- m_causesScrollingIfUncanceled(false),
- m_touchStartOrFirstTouchMove(false) {}
-
- const Vector<PlatformTouchPoint>& touchPoints() const {
- return m_touchPoints;
- }
-
- DispatchType dispatchType() const { return m_dispatchType; }
- bool cancelable() const { return m_dispatchType == PlatformEvent::Blocking; }
- bool causesScrollingIfUncanceled() const {
- return m_causesScrollingIfUncanceled;
- }
- bool touchStartOrFirstTouchMove() const {
- return m_touchStartOrFirstTouchMove;
- }
- uint32_t uniqueTouchEventId() const { return m_uniqueTouchEventId; }
-
- protected:
- Vector<PlatformTouchPoint> m_touchPoints;
- DispatchType m_dispatchType;
- bool m_causesScrollingIfUncanceled;
- bool m_touchStartOrFirstTouchMove;
- uint32_t m_uniqueTouchEventId;
-};
-
-} // namespace blink
-
-#endif // PlatformTouchEvent_h
« no previous file with comments | « third_party/WebKit/Source/platform/PlatformEvent.h ('k') | third_party/WebKit/Source/platform/PlatformTouchPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698