Index: third_party/WebKit/Source/core/dom/Node.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp |
index 8d856aa37fbed1f693a497702e43c948e6b8ed2a..c76642f61dd995eb592dc5bf45c00116d42a44ad 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.cpp |
+++ b/third_party/WebKit/Source/core/dom/Node.cpp |
@@ -2007,11 +2007,6 @@ bool Node::dispatchDOMActivateEvent(int detail, PassRefPtrWillBeRawPtr<Event> un |
return event->defaultHandled(); |
} |
-bool Node::dispatchKeyEvent(const PlatformKeyboardEvent& nativeEvent) |
-{ |
- return dispatchEvent(KeyboardEvent::create(nativeEvent, document().domWindow())); |
-} |
- |
bool Node::dispatchMouseEvent(const PlatformMouseEvent& nativeEvent, const AtomicString& eventType, |
int detail, Node* relatedTarget) |
{ |
@@ -2019,24 +2014,11 @@ bool Node::dispatchMouseEvent(const PlatformMouseEvent& nativeEvent, const Atomi |
return dispatchEvent(event); |
} |
-bool Node::dispatchGestureEvent(const PlatformGestureEvent& event) |
-{ |
- RefPtrWillBeRawPtr<GestureEvent> gestureEvent = GestureEvent::create(document().domWindow(), event); |
- if (!gestureEvent.get()) |
- return false; |
- return dispatchEvent(gestureEvent); |
-} |
- |
void Node::dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEventOptions eventOptions, SimulatedClickCreationScope scope) |
{ |
EventDispatcher::dispatchSimulatedClick(*this, underlyingEvent, eventOptions, scope); |
} |
-bool Node::dispatchWheelEvent(const PlatformWheelEvent& event) |
-{ |
- return dispatchEvent(WheelEvent::create(event, document().domWindow())); |
-} |
- |
void Node::dispatchInputEvent() |
{ |
dispatchScopedEvent(Event::createBubble(EventTypeNames::input)); |