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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 enum ShadowTreesTreatment { | 620 enum ShadowTreesTreatment { |
621 TreatShadowTreesAsDisconnected, | 621 TreatShadowTreesAsDisconnected, |
622 TreatShadowTreesAsComposed | 622 TreatShadowTreesAsComposed |
623 }; | 623 }; |
624 | 624 |
625 unsigned short compareDocumentPosition(const Node*, ShadowTreesTreatment = T
reatShadowTreesAsDisconnected) const; | 625 unsigned short compareDocumentPosition(const Node*, ShadowTreesTreatment = T
reatShadowTreesAsDisconnected) const; |
626 | 626 |
627 Node* toNode() final; | 627 Node* toNode() final; |
628 | 628 |
629 const AtomicString& interfaceName() const override; | 629 const AtomicString& interfaceName() const override; |
630 ExecutionContext* executionContext() const final; | 630 ExecutionContext* getExecutionContext() const final; |
631 | 631 |
632 void removeAllEventListeners() override; | 632 void removeAllEventListeners() override; |
633 void removeAllEventListenersRecursively(); | 633 void removeAllEventListenersRecursively(); |
634 | 634 |
635 // Handlers to do/undo actions on the target node before an event is dispatc
hed to it and after the event | 635 // Handlers to do/undo actions on the target node before an event is dispatc
hed to it and after the event |
636 // has been dispatched. The data pointer is handed back by the preDispatch
and passed to postDispatch. | 636 // has been dispatched. The data pointer is handed back by the preDispatch
and passed to postDispatch. |
637 virtual void* preDispatchEventHandler(Event*) { return nullptr; } | 637 virtual void* preDispatchEventHandler(Event*) { return nullptr; } |
638 virtual void postDispatchEventHandler(Event*, void* /*dataFromPreDispatch*/)
{ } | 638 virtual void postDispatchEventHandler(Event*, void* /*dataFromPreDispatch*/)
{ } |
639 | 639 |
640 void dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event>); | 640 void dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event>); |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 } // namespace blink | 928 } // namespace blink |
929 | 929 |
930 #ifndef NDEBUG | 930 #ifndef NDEBUG |
931 // Outside the WebCore namespace for ease of invocation from gdb. | 931 // Outside the WebCore namespace for ease of invocation from gdb. |
932 void showNode(const blink::Node*); | 932 void showNode(const blink::Node*); |
933 void showTree(const blink::Node*); | 933 void showTree(const blink::Node*); |
934 void showNodePath(const blink::Node*); | 934 void showNodePath(const blink::Node*); |
935 #endif | 935 #endif |
936 | 936 |
937 #endif // Node_h | 937 #endif // Node_h |
OLD | NEW |