| 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 unsigned short compareDocumentPosition(Node*); | 594 unsigned short compareDocumentPosition(Node*); |
| 595 | 595 |
| 596 enum ShadowTreesTreatment { | 596 enum ShadowTreesTreatment { |
| 597 TreatShadowTreesAsDisconnected, | 597 TreatShadowTreesAsDisconnected, |
| 598 TreatShadowTreesAsComposed | 598 TreatShadowTreesAsComposed |
| 599 }; | 599 }; |
| 600 | 600 |
| 601 unsigned short compareDocumentPositionInternal(Node*, ShadowTreesTreatment); | 601 unsigned short compareDocumentPositionInternal(Node*, ShadowTreesTreatment); |
| 602 | 602 |
| 603 virtual Node* toNode(); | 603 virtual Node* toNode(); |
| 604 virtual HTMLInputElement* toInputElement(); | 604 virtual Result<HTMLInputElement> toInputElement(); |
| 605 | 605 |
| 606 virtual const AtomicString& interfaceName() const; | 606 virtual const AtomicString& interfaceName() const; |
| 607 virtual ScriptExecutionContext* scriptExecutionContext() const; | 607 virtual ScriptExecutionContext* scriptExecutionContext() const; |
| 608 | 608 |
| 609 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture); | 609 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even
tListener>, bool useCapture); |
| 610 virtual bool removeEventListener(const AtomicString& eventType, EventListene
r*, bool useCapture); | 610 virtual bool removeEventListener(const AtomicString& eventType, EventListene
r*, bool useCapture); |
| 611 | 611 |
| 612 // Handlers to do/undo actions on the target node before an event is dispatc
hed to it and after the event | 612 // Handlers to do/undo actions on the target node before an event is dispatc
hed to it and after the event |
| 613 // has been dispatched. The data pointer is handed back by the preDispatch
and passed to postDispatch. | 613 // has been dispatched. The data pointer is handed back by the preDispatch
and passed to postDispatch. |
| 614 virtual void* preDispatchEventHandler(Event*) { return 0; } | 614 virtual void* preDispatchEventHandler(Event*) { return 0; } |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 881 | 881 |
| 882 } //namespace | 882 } //namespace |
| 883 | 883 |
| 884 #ifndef NDEBUG | 884 #ifndef NDEBUG |
| 885 // Outside the WebCore namespace for ease of invocation from gdb. | 885 // Outside the WebCore namespace for ease of invocation from gdb. |
| 886 void showTree(const WebCore::Node*); | 886 void showTree(const WebCore::Node*); |
| 887 void showNodePath(const WebCore::Node*); | 887 void showNodePath(const WebCore::Node*); |
| 888 #endif | 888 #endif |
| 889 | 889 |
| 890 #endif | 890 #endif |
| OLD | NEW |