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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 enum ShadowTreesTreatment { | 606 enum ShadowTreesTreatment { |
607 TreatShadowTreesAsDisconnected, | 607 TreatShadowTreesAsDisconnected, |
608 TreatShadowTreesAsComposed | 608 TreatShadowTreesAsComposed |
609 }; | 609 }; |
610 | 610 |
611 unsigned short compareDocumentPositionInternal(const Node*, ShadowTreesTreat
ment) const; | 611 unsigned short compareDocumentPositionInternal(const Node*, ShadowTreesTreat
ment) const; |
612 | 612 |
613 virtual Node* toNode() OVERRIDE FINAL; | 613 virtual Node* toNode() OVERRIDE FINAL; |
614 | 614 |
615 virtual const AtomicString& interfaceName() const OVERRIDE; | 615 virtual const AtomicString& interfaceName() const OVERRIDE; |
616 virtual ExecutionContext* executionContext() const OVERRIDE; | 616 virtual ExecutionContext* executionContext() const OVERRIDE FINAL; |
617 | 617 |
618 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture = false) OVERRIDE; | 618 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture = false) OVERRIDE; |
619 virtual bool removeEventListener(const AtomicString& eventType, EventListene
r*, bool useCapture = false) OVERRIDE; | 619 virtual bool removeEventListener(const AtomicString& eventType, EventListene
r*, bool useCapture = false) OVERRIDE; |
620 virtual void removeAllEventListeners() OVERRIDE; | 620 virtual void removeAllEventListeners() OVERRIDE; |
621 void removeAllEventListenersRecursively(); | 621 void removeAllEventListenersRecursively(); |
622 | 622 |
623 // Handlers to do/undo actions on the target node before an event is dispatc
hed to it and after the event | 623 // Handlers to do/undo actions on the target node before an event is dispatc
hed to it and after the event |
624 // has been dispatched. The data pointer is handed back by the preDispatch
and passed to postDispatch. | 624 // has been dispatched. The data pointer is handed back by the preDispatch
and passed to postDispatch. |
625 virtual void* preDispatchEventHandler(Event*) { return 0; } | 625 virtual void* preDispatchEventHandler(Event*) { return 0; } |
626 virtual void postDispatchEventHandler(Event*, void* /*dataFromPreDispatch*/)
{ } | 626 virtual void postDispatchEventHandler(Event*, void* /*dataFromPreDispatch*/)
{ } |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
907 } // namespace WebCore | 907 } // namespace WebCore |
908 | 908 |
909 #ifndef NDEBUG | 909 #ifndef NDEBUG |
910 // Outside the WebCore namespace for ease of invocation from gdb. | 910 // Outside the WebCore namespace for ease of invocation from gdb. |
911 void showNode(const WebCore::Node*); | 911 void showNode(const WebCore::Node*); |
912 void showTree(const WebCore::Node*); | 912 void showTree(const WebCore::Node*); |
913 void showNodePath(const WebCore::Node*); | 913 void showNodePath(const WebCore::Node*); |
914 #endif | 914 #endif |
915 | 915 |
916 #endif | 916 #endif |
OLD | NEW |