OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. |
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 virtual void* preDispatchEventHandler(Event*) { return nullptr; } | 622 virtual void* preDispatchEventHandler(Event*) { return nullptr; } |
623 virtual void postDispatchEventHandler(Event*, void* /*dataFromPreDispatch*/)
{ } | 623 virtual void postDispatchEventHandler(Event*, void* /*dataFromPreDispatch*/)
{ } |
624 | 624 |
625 void dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event>); | 625 void dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event>); |
626 | 626 |
627 virtual void handleLocalEvents(Event&); | 627 virtual void handleLocalEvents(Event&); |
628 | 628 |
629 void dispatchSubtreeModifiedEvent(); | 629 void dispatchSubtreeModifiedEvent(); |
630 bool dispatchDOMActivateEvent(int detail, PassRefPtrWillBeRawPtr<Event> unde
rlyingEvent); | 630 bool dispatchDOMActivateEvent(int detail, PassRefPtrWillBeRawPtr<Event> unde
rlyingEvent); |
631 | 631 |
632 bool dispatchKeyEvent(const PlatformKeyboardEvent&); | |
633 bool dispatchWheelEvent(const PlatformWheelEvent&); | |
634 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event
Type, int clickCount = 0, Node* relatedTarget = nullptr); | 632 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event
Type, int clickCount = 0, Node* relatedTarget = nullptr); |
635 bool dispatchGestureEvent(const PlatformGestureEvent&); | |
636 | 633 |
637 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent
Options = SendNoEvents, SimulatedClickCreationScope = SimulatedClickCreationScop
e::FromUserAgent); | 634 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent
Options = SendNoEvents, SimulatedClickCreationScope = SimulatedClickCreationScop
e::FromUserAgent); |
638 | 635 |
639 void dispatchInputEvent(); | 636 void dispatchInputEvent(); |
640 | 637 |
641 // Perform the default action for an event. | 638 // Perform the default action for an event. |
642 virtual void defaultEventHandler(Event*); | 639 virtual void defaultEventHandler(Event*); |
643 virtual void willCallDefaultEventHandler(const Event&); | 640 virtual void willCallDefaultEventHandler(const Event&); |
644 | 641 |
645 EventTargetData* eventTargetData() override; | 642 EventTargetData* eventTargetData() override; |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 } // namespace blink | 912 } // namespace blink |
916 | 913 |
917 #ifndef NDEBUG | 914 #ifndef NDEBUG |
918 // Outside the WebCore namespace for ease of invocation from gdb. | 915 // Outside the WebCore namespace for ease of invocation from gdb. |
919 void showNode(const blink::Node*); | 916 void showNode(const blink::Node*); |
920 void showTree(const blink::Node*); | 917 void showTree(const blink::Node*); |
921 void showNodePath(const blink::Node*); | 918 void showNodePath(const blink::Node*); |
922 #endif | 919 #endif |
923 | 920 |
924 #endif // Node_h | 921 #endif // Node_h |
OLD | NEW |