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