Index: third_party/WebKit/Source/core/events/KeyboardEvent.cpp |
diff --git a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp |
index 69320ad67bd3b44f2c259ca4747d90c87ecc8690..5b2d4769d5675f22bbcd9b58be175c68e5f60b45 100644 |
--- a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp |
@@ -193,30 +193,9 @@ void KeyboardEvent::initLocationModifiers(unsigned location) |
} |
} |
-PassRefPtrWillBeRawPtr<EventDispatchMediator> KeyboardEvent::createMediator() |
-{ |
- return KeyboardEventDispatchMediator::create(this); |
-} |
- |
DEFINE_TRACE(KeyboardEvent) |
{ |
UIEventWithKeyState::trace(visitor); |
} |
-PassRefPtrWillBeRawPtr<KeyboardEventDispatchMediator> KeyboardEventDispatchMediator::create(PassRefPtrWillBeRawPtr<KeyboardEvent> event) |
-{ |
- return adoptRefWillBeNoop(new KeyboardEventDispatchMediator(event)); |
-} |
- |
-KeyboardEventDispatchMediator::KeyboardEventDispatchMediator(PassRefPtrWillBeRawPtr<KeyboardEvent> event) |
- : EventDispatchMediator(event) |
-{ |
-} |
- |
-bool KeyboardEventDispatchMediator::dispatchEvent(EventDispatcher& dispatcher) const |
-{ |
- // Make sure not to return true if we already took default action while handling the event. |
- return EventDispatchMediator::dispatchEvent(dispatcher) && !event().defaultHandled(); |
-} |
- |
} // namespace blink |