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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 class NameNodeList; | 66 class NameNodeList; |
67 class NamedNodeMap; | 67 class NamedNodeMap; |
68 class NodeEventContext; | 68 class NodeEventContext; |
69 class NodeList; | 69 class NodeList; |
70 class NodeListsNodeData; | 70 class NodeListsNodeData; |
71 class NodeRareData; | 71 class NodeRareData; |
72 class PlatformGestureEvent; | 72 class PlatformGestureEvent; |
73 class PlatformKeyboardEvent; | 73 class PlatformKeyboardEvent; |
74 class PlatformMouseEvent; | 74 class PlatformMouseEvent; |
75 class PlatformWheelEvent; | 75 class PlatformWheelEvent; |
| 76 class PointerEvent; |
76 class QualifiedName; | 77 class QualifiedName; |
77 class RadioNodeList; | 78 class RadioNodeList; |
78 class RegisteredEventListener; | 79 class RegisteredEventListener; |
79 class LayoutBox; | 80 class LayoutBox; |
80 class LayoutBoxModelObject; | 81 class LayoutBoxModelObject; |
81 class LayoutObject; | 82 class LayoutObject; |
82 class ComputedStyle; | 83 class ComputedStyle; |
83 class SVGQualifiedName; | 84 class SVGQualifiedName; |
84 class ShadowRoot; | 85 class ShadowRoot; |
85 template <typename NodeType> class StaticNodeTypeList; | 86 template <typename NodeType> class StaticNodeTypeList; |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 virtual void handleLocalEvents(Event&); | 649 virtual void handleLocalEvents(Event&); |
649 | 650 |
650 void dispatchSubtreeModifiedEvent(); | 651 void dispatchSubtreeModifiedEvent(); |
651 bool dispatchDOMActivateEvent(int detail, PassRefPtrWillBeRawPtr<Event> unde
rlyingEvent); | 652 bool dispatchDOMActivateEvent(int detail, PassRefPtrWillBeRawPtr<Event> unde
rlyingEvent); |
652 | 653 |
653 bool dispatchKeyEvent(const PlatformKeyboardEvent&); | 654 bool dispatchKeyEvent(const PlatformKeyboardEvent&); |
654 bool dispatchWheelEvent(const PlatformWheelEvent&); | 655 bool dispatchWheelEvent(const PlatformWheelEvent&); |
655 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event
Type, int clickCount = 0, Node* relatedTarget = nullptr); | 656 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event
Type, int clickCount = 0, Node* relatedTarget = nullptr); |
656 bool dispatchGestureEvent(const PlatformGestureEvent&); | 657 bool dispatchGestureEvent(const PlatformGestureEvent&); |
657 bool dispatchTouchEvent(PassRefPtrWillBeRawPtr<TouchEvent>); | 658 bool dispatchTouchEvent(PassRefPtrWillBeRawPtr<TouchEvent>); |
| 659 bool dispatchPointerEvent(PassRefPtrWillBeRawPtr<PointerEvent>); |
658 | 660 |
659 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent
Options = SendNoEvents); | 661 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent
Options = SendNoEvents); |
660 | 662 |
661 void dispatchInputEvent(); | 663 void dispatchInputEvent(); |
662 | 664 |
663 // Perform the default action for an event. | 665 // Perform the default action for an event. |
664 virtual void defaultEventHandler(Event*); | 666 virtual void defaultEventHandler(Event*); |
665 virtual void willCallDefaultEventHandler(const Event&); | 667 virtual void willCallDefaultEventHandler(const Event&); |
666 | 668 |
667 virtual EventTargetData* eventTargetData() override; | 669 virtual EventTargetData* eventTargetData() override; |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 } // namespace blink | 919 } // namespace blink |
918 | 920 |
919 #ifndef NDEBUG | 921 #ifndef NDEBUG |
920 // Outside the WebCore namespace for ease of invocation from gdb. | 922 // Outside the WebCore namespace for ease of invocation from gdb. |
921 void showNode(const blink::Node*); | 923 void showNode(const blink::Node*); |
922 void showTree(const blink::Node*); | 924 void showTree(const blink::Node*); |
923 void showNodePath(const blink::Node*); | 925 void showNodePath(const blink::Node*); |
924 #endif | 926 #endif |
925 | 927 |
926 #endif // Node_h | 928 #endif // Node_h |
OLD | NEW |