| 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, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights 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 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 617 | 617 |
| 618 // Handlers to do/undo actions on the target node before an event is dispatc
hed to it and after the event | 618 // Handlers to do/undo actions on the target node before an event is dispatc
hed to it and after the event |
| 619 // has been dispatched. The data pointer is handed back by the preDispatch
and passed to postDispatch. | 619 // has been dispatched. The data pointer is handed back by the preDispatch
and passed to postDispatch. |
| 620 virtual void* preDispatchEventHandler(Event*) { return 0; } | 620 virtual void* preDispatchEventHandler(Event*) { return 0; } |
| 621 virtual void postDispatchEventHandler(Event*, void* /*dataFromPreDispatch*/)
{ } | 621 virtual void postDispatchEventHandler(Event*, void* /*dataFromPreDispatch*/)
{ } |
| 622 | 622 |
| 623 using EventTarget::dispatchEvent; | 623 using EventTarget::dispatchEvent; |
| 624 virtual bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>) OVERRIDE; | 624 virtual bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>) OVERRIDE; |
| 625 | 625 |
| 626 void dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event>); | 626 void dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event>); |
| 627 void dispatchScopedEventDispatchMediator(PassRefPtr<EventDispatchMediator>); | 627 void dispatchScopedEventDispatchMediator(PassRefPtrWillBeRawPtr<EventDispatc
hMediator>); |
| 628 | 628 |
| 629 virtual void handleLocalEvents(Event*); | 629 virtual void handleLocalEvents(Event*); |
| 630 | 630 |
| 631 void dispatchSubtreeModifiedEvent(); | 631 void dispatchSubtreeModifiedEvent(); |
| 632 bool dispatchDOMActivateEvent(int detail, PassRefPtrWillBeRawPtr<Event> unde
rlyingEvent); | 632 bool dispatchDOMActivateEvent(int detail, PassRefPtrWillBeRawPtr<Event> unde
rlyingEvent); |
| 633 | 633 |
| 634 bool dispatchKeyEvent(const PlatformKeyboardEvent&); | 634 bool dispatchKeyEvent(const PlatformKeyboardEvent&); |
| 635 bool dispatchWheelEvent(const PlatformWheelEvent&); | 635 bool dispatchWheelEvent(const PlatformWheelEvent&); |
| 636 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event
Type, int clickCount = 0, Node* relatedTarget = 0); | 636 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event
Type, int clickCount = 0, Node* relatedTarget = 0); |
| 637 bool dispatchGestureEvent(const PlatformGestureEvent&); | 637 bool dispatchGestureEvent(const PlatformGestureEvent&); |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 909 } // namespace WebCore | 909 } // namespace WebCore |
| 910 | 910 |
| 911 #ifndef NDEBUG | 911 #ifndef NDEBUG |
| 912 // Outside the WebCore namespace for ease of invocation from gdb. | 912 // Outside the WebCore namespace for ease of invocation from gdb. |
| 913 void showNode(const WebCore::Node*); | 913 void showNode(const WebCore::Node*); |
| 914 void showTree(const WebCore::Node*); | 914 void showTree(const WebCore::Node*); |
| 915 void showNodePath(const WebCore::Node*); | 915 void showNodePath(const WebCore::Node*); |
| 916 #endif | 916 #endif |
| 917 | 917 |
| 918 #endif | 918 #endif |
| OLD | NEW |