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 Nokia Corporation and/or its subsidiary(-ies) | 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 2185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2196 return; | 2196 return; |
2197 | 2197 |
2198 fireEventListeners(event); | 2198 fireEventListeners(event); |
2199 } | 2199 } |
2200 | 2200 |
2201 void Node::dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event> event) | 2201 void Node::dispatchScopedEvent(PassRefPtrWillBeRawPtr<Event> event) |
2202 { | 2202 { |
2203 dispatchScopedEventDispatchMediator(EventDispatchMediator::create(event)); | 2203 dispatchScopedEventDispatchMediator(EventDispatchMediator::create(event)); |
2204 } | 2204 } |
2205 | 2205 |
2206 void Node::dispatchScopedEventDispatchMediator(PassRefPtr<EventDispatchMediator>
eventDispatchMediator) | 2206 void Node::dispatchScopedEventDispatchMediator(PassRefPtrWillBeRawPtr<EventDispa
tchMediator> eventDispatchMediator) |
2207 { | 2207 { |
2208 EventDispatcher::dispatchScopedEvent(this, eventDispatchMediator); | 2208 EventDispatcher::dispatchScopedEvent(this, eventDispatchMediator); |
2209 } | 2209 } |
2210 | 2210 |
2211 bool Node::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) | 2211 bool Node::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) |
2212 { | 2212 { |
2213 if (event->isMouseEvent()) | 2213 if (event->isMouseEvent()) |
2214 return EventDispatcher::dispatchEvent(this, MouseEventDispatchMediator::
create(static_pointer_cast<MouseEvent>(event), MouseEventDispatchMediator::Synth
eticMouseEvent)); | 2214 return EventDispatcher::dispatchEvent(this, MouseEventDispatchMediator::
create(static_pointer_cast<MouseEvent>(event), MouseEventDispatchMediator::Synth
eticMouseEvent)); |
2215 if (event->isTouchEvent()) | 2215 if (event->isTouchEvent()) |
2216 return dispatchTouchEvent(static_pointer_cast<TouchEvent>(event)); | 2216 return dispatchTouchEvent(static_pointer_cast<TouchEvent>(event)); |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2596 node->showTreeForThis(); | 2596 node->showTreeForThis(); |
2597 } | 2597 } |
2598 | 2598 |
2599 void showNodePath(const WebCore::Node* node) | 2599 void showNodePath(const WebCore::Node* node) |
2600 { | 2600 { |
2601 if (node) | 2601 if (node) |
2602 node->showNodePathForThis(); | 2602 node->showNodePathForThis(); |
2603 } | 2603 } |
2604 | 2604 |
2605 #endif | 2605 #endif |
OLD | NEW |