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

Unified Diff: third_party/WebKit/Source/core/events/TouchEvent.cpp

Issue 2182183003: Remove |TouchEvent.initTouchEvent()| in M54 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/core/events/TouchEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/TouchEvent.cpp b/third_party/WebKit/Source/core/events/TouchEvent.cpp
index 6ad2ef4b299ff99be59516900cf69666ecacda3c..c190cafa74007db4ae7be8f81a243daf6436ff46 100644
--- a/third_party/WebKit/Source/core/events/TouchEvent.cpp
+++ b/third_party/WebKit/Source/core/events/TouchEvent.cpp
@@ -187,30 +187,6 @@ TouchEvent::~TouchEvent()
{
}
-void TouchEvent::initTouchEvent(ScriptState* scriptState, TouchList* touches, TouchList* targetTouches,
- TouchList* changedTouches, const AtomicString& type,
- AbstractView* view,
- int, int, int, int,
- bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
-{
- if (isBeingDispatched())
- return;
-
- if (scriptState->world().isIsolatedWorld())
- UIEventWithKeyState::didCreateEventInIsolatedWorld(ctrlKey, altKey, shiftKey, metaKey);
-
- bool cancelable = true;
- if (type == EventTypeNames::touchcancel)
- cancelable = false;
-
- initUIEvent(type, true, cancelable, view, 0);
-
- m_touches = touches;
- m_targetTouches = targetTouches;
- m_changedTouches = changedTouches;
- initModifiers(ctrlKey, altKey, shiftKey, metaKey);
-}
-
const AtomicString& TouchEvent::interfaceName() const
{
return EventNames::TouchEvent;
« no previous file with comments | « third_party/WebKit/Source/core/events/TouchEvent.h ('k') | third_party/WebKit/Source/core/events/TouchEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698