| 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 2031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2042 } | 2042 } |
| 2043 | 2043 |
| 2044 bool Node::dispatchGestureEvent(const PlatformGestureEvent& event) | 2044 bool Node::dispatchGestureEvent(const PlatformGestureEvent& event) |
| 2045 { | 2045 { |
| 2046 RefPtrWillBeRawPtr<GestureEvent> gestureEvent = GestureEvent::create(documen
t().domWindow(), event); | 2046 RefPtrWillBeRawPtr<GestureEvent> gestureEvent = GestureEvent::create(documen
t().domWindow(), event); |
| 2047 if (!gestureEvent.get()) | 2047 if (!gestureEvent.get()) |
| 2048 return false; | 2048 return false; |
| 2049 return dispatchEvent(gestureEvent); | 2049 return dispatchEvent(gestureEvent); |
| 2050 } | 2050 } |
| 2051 | 2051 |
| 2052 void Node::dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEve
ntOptions eventOptions) | 2052 void Node::dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEve
ntOptions eventOptions, SimulatedClickCreationScope scope) |
| 2053 { | 2053 { |
| 2054 EventDispatcher::dispatchSimulatedClick(*this, underlyingEvent, eventOptions
); | 2054 EventDispatcher::dispatchSimulatedClick(*this, underlyingEvent, eventOptions
, scope); |
| 2055 } | 2055 } |
| 2056 | 2056 |
| 2057 bool Node::dispatchWheelEvent(const PlatformWheelEvent& event) | 2057 bool Node::dispatchWheelEvent(const PlatformWheelEvent& event) |
| 2058 { | 2058 { |
| 2059 return dispatchEvent(WheelEvent::create(event, document().domWindow())); | 2059 return dispatchEvent(WheelEvent::create(event, document().domWindow())); |
| 2060 } | 2060 } |
| 2061 | 2061 |
| 2062 void Node::dispatchInputEvent() | 2062 void Node::dispatchInputEvent() |
| 2063 { | 2063 { |
| 2064 dispatchScopedEvent(Event::createBubble(EventTypeNames::input)); | 2064 dispatchScopedEvent(Event::createBubble(EventTypeNames::input)); |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2391 | 2391 |
| 2392 void showNodePath(const blink::Node* node) | 2392 void showNodePath(const blink::Node* node) |
| 2393 { | 2393 { |
| 2394 if (node) | 2394 if (node) |
| 2395 node->showNodePathForThis(); | 2395 node->showNodePathForThis(); |
| 2396 else | 2396 else |
| 2397 fprintf(stderr, "Cannot showNodePath for (nil)\n"); | 2397 fprintf(stderr, "Cannot showNodePath for (nil)\n"); |
| 2398 } | 2398 } |
| 2399 | 2399 |
| 2400 #endif | 2400 #endif |
| OLD | NEW |