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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 TreatShadowTreesAsComposed | 606 TreatShadowTreesAsComposed |
607 }; | 607 }; |
608 | 608 |
609 unsigned short compareDocumentPosition(const Node*, ShadowTreesTreatment = T
reatShadowTreesAsDisconnected) const; | 609 unsigned short compareDocumentPosition(const Node*, ShadowTreesTreatment = T
reatShadowTreesAsDisconnected) const; |
610 | 610 |
611 Node* toNode() final; | 611 Node* toNode() final; |
612 | 612 |
613 const AtomicString& interfaceName() const override; | 613 const AtomicString& interfaceName() const override; |
614 ExecutionContext* executionContext() const final; | 614 ExecutionContext* executionContext() const final; |
615 | 615 |
616 bool addEventListener(const AtomicString& eventType, PassRefPtr<EventListene
r>, bool useCapture = false) override; | 616 bool addEventListener(const AtomicString& eventType, PassRefPtrWillBeRawPtr<
EventListener>, bool useCapture = false) override; |
617 bool removeEventListener(const AtomicString& eventType, PassRefPtr<EventList
ener>, bool useCapture = false) override; | 617 bool removeEventListener(const AtomicString& eventType, PassRefPtrWillBeRawP
tr<EventListener>, bool useCapture = false) override; |
618 void removeAllEventListeners() override; | 618 void removeAllEventListeners() override; |
619 void removeAllEventListenersRecursively(); | 619 void removeAllEventListenersRecursively(); |
620 | 620 |
621 // Handlers to do/undo actions on the target node before an event is dispatc
hed to it and after the event | 621 // Handlers to do/undo actions on the target node before an event is dispatc
hed to it and after the event |
622 // has been dispatched. The data pointer is handed back by the preDispatch
and passed to postDispatch. | 622 // has been dispatched. The data pointer is handed back by the preDispatch
and passed to postDispatch. |
623 virtual void* preDispatchEventHandler(Event*) { return nullptr; } | 623 virtual void* preDispatchEventHandler(Event*) { return nullptr; } |
624 virtual void postDispatchEventHandler(Event*, void* /*dataFromPreDispatch*/)
{ } | 624 virtual void postDispatchEventHandler(Event*, void* /*dataFromPreDispatch*/)
{ } |
625 | 625 |
626 void dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event>); | 626 void dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event>); |
627 | 627 |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
898 } // namespace blink | 898 } // namespace blink |
899 | 899 |
900 #ifndef NDEBUG | 900 #ifndef NDEBUG |
901 // Outside the WebCore namespace for ease of invocation from gdb. | 901 // Outside the WebCore namespace for ease of invocation from gdb. |
902 void showNode(const blink::Node*); | 902 void showNode(const blink::Node*); |
903 void showTree(const blink::Node*); | 903 void showTree(const blink::Node*); |
904 void showNodePath(const blink::Node*); | 904 void showNodePath(const blink::Node*); |
905 #endif | 905 #endif |
906 | 906 |
907 #endif // Node_h | 907 #endif // Node_h |
OLD | NEW |