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 2336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2347 RefPtr<BeforeLoadEvent> beforeLoadEvent = BeforeLoadEvent::create(sourceURL)
; | 2347 RefPtr<BeforeLoadEvent> beforeLoadEvent = BeforeLoadEvent::create(sourceURL)
; |
2348 dispatchEvent(beforeLoadEvent.get()); | 2348 dispatchEvent(beforeLoadEvent.get()); |
2349 return !beforeLoadEvent->defaultPrevented(); | 2349 return !beforeLoadEvent->defaultPrevented(); |
2350 } | 2350 } |
2351 | 2351 |
2352 bool Node::dispatchWheelEvent(const PlatformWheelEvent& event) | 2352 bool Node::dispatchWheelEvent(const PlatformWheelEvent& event) |
2353 { | 2353 { |
2354 return EventDispatcher::dispatchEvent(this, WheelEventDispatchMediator::crea
te(event, document().domWindow())); | 2354 return EventDispatcher::dispatchEvent(this, WheelEventDispatchMediator::crea
te(event, document().domWindow())); |
2355 } | 2355 } |
2356 | 2356 |
2357 void Node::dispatchChangeEvent() | |
2358 { | |
2359 dispatchScopedEvent(Event::createBubble(EventTypeNames::change)); | |
2360 } | |
2361 | |
2362 void Node::dispatchInputEvent() | 2357 void Node::dispatchInputEvent() |
2363 { | 2358 { |
2364 dispatchScopedEvent(Event::createBubble(EventTypeNames::input)); | 2359 dispatchScopedEvent(Event::createBubble(EventTypeNames::input)); |
2365 } | 2360 } |
2366 | 2361 |
2367 void Node::defaultEventHandler(Event* event) | 2362 void Node::defaultEventHandler(Event* event) |
2368 { | 2363 { |
2369 if (event->target() != this) | 2364 if (event->target() != this) |
2370 return; | 2365 return; |
2371 const AtomicString& eventType = event->type(); | 2366 const AtomicString& eventType = event->type(); |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2641 node->showTreeForThis(); | 2636 node->showTreeForThis(); |
2642 } | 2637 } |
2643 | 2638 |
2644 void showNodePath(const WebCore::Node* node) | 2639 void showNodePath(const WebCore::Node* node) |
2645 { | 2640 { |
2646 if (node) | 2641 if (node) |
2647 node->showNodePathForThis(); | 2642 node->showNodePathForThis(); |
2648 } | 2643 } |
2649 | 2644 |
2650 #endif | 2645 #endif |
OLD | NEW |