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 1474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1485 | 1485 |
1486 bool Node::dispatchMouseEvent(const PlatformMouseEvent& event, const AtomicStrin
g& eventType, | 1486 bool Node::dispatchMouseEvent(const PlatformMouseEvent& event, const AtomicStrin
g& eventType, |
1487 int detail, Node* relatedTarget) | 1487 int detail, Node* relatedTarget) |
1488 { | 1488 { |
1489 return EventDispatcher::dispatchEvent(this, MouseEventDispatchMediator::crea
te(MouseEvent::create(eventType, document().domWindow(), event, detail, relatedT
arget))); | 1489 return EventDispatcher::dispatchEvent(this, MouseEventDispatchMediator::crea
te(MouseEvent::create(eventType, document().domWindow(), event, detail, relatedT
arget))); |
1490 } | 1490 } |
1491 | 1491 |
1492 bool Node::dispatchGestureEvent(const PlatformGestureEvent& event) | 1492 bool Node::dispatchGestureEvent(const PlatformGestureEvent& event) |
1493 { | 1493 { |
1494 RefPtr<GestureEvent> gestureEvent = GestureEvent::create(document().domWindo
w(), event); | 1494 RefPtr<GestureEvent> gestureEvent = GestureEvent::create(document().domWindo
w(), event); |
1495 if (!gestureEvent.get()) | 1495 if (!gestureEvent) |
1496 return false; | 1496 return false; |
1497 return EventDispatcher::dispatchEvent(this, GestureEventDispatchMediator::cr
eate(gestureEvent)); | 1497 return EventDispatcher::dispatchEvent(this, GestureEventDispatchMediator::cr
eate(gestureEvent)); |
1498 } | 1498 } |
1499 | 1499 |
1500 bool Node::dispatchTouchEvent(PassRefPtr<TouchEvent> event) | 1500 bool Node::dispatchTouchEvent(PassRefPtr<TouchEvent> event) |
1501 { | 1501 { |
1502 return EventDispatcher::dispatchEvent(this, TouchEventDispatchMediator::crea
te(event)); | 1502 return EventDispatcher::dispatchEvent(this, TouchEventDispatchMediator::crea
te(event)); |
1503 } | 1503 } |
1504 | 1504 |
1505 void Node::dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEve
ntOptions eventOptions) | 1505 void Node::dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEve
ntOptions eventOptions) |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1738 node->showTreeForThis(); | 1738 node->showTreeForThis(); |
1739 } | 1739 } |
1740 | 1740 |
1741 void showNodePath(const blink::Node* node) | 1741 void showNodePath(const blink::Node* node) |
1742 { | 1742 { |
1743 if (node) | 1743 if (node) |
1744 node->showNodePathForThis(); | 1744 node->showNodePathForThis(); |
1745 } | 1745 } |
1746 | 1746 |
1747 #endif | 1747 #endif |
OLD | NEW |