| 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 2639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2650 void Node::dispatchBlurEvent(PassRefPtr<Node> newFocusedNode) | 2650 void Node::dispatchBlurEvent(PassRefPtr<Node> newFocusedNode) |
| 2651 { | 2651 { |
| 2652 if (document()->page()) | 2652 if (document()->page()) |
| 2653 document()->page()->chrome()->client()->elementDidBlur(this); | 2653 document()->page()->chrome()->client()->elementDidBlur(this); |
| 2654 | 2654 |
| 2655 EventDispatcher::dispatchEvent(this, BlurEventDispatchMediator::create(newFo
cusedNode)); | 2655 EventDispatcher::dispatchEvent(this, BlurEventDispatchMediator::create(newFo
cusedNode)); |
| 2656 } | 2656 } |
| 2657 | 2657 |
| 2658 void Node::dispatchChangeEvent() | 2658 void Node::dispatchChangeEvent() |
| 2659 { | 2659 { |
| 2660 dispatchEvent(Event::create(eventNames().changeEvent, true, false)); | 2660 dispatchScopedEvent(Event::create(eventNames().changeEvent, true, false)); |
| 2661 } | 2661 } |
| 2662 | 2662 |
| 2663 void Node::dispatchInputEvent() | 2663 void Node::dispatchInputEvent() |
| 2664 { | 2664 { |
| 2665 dispatchEvent(Event::create(eventNames().inputEvent, true, false)); | 2665 dispatchScopedEvent(Event::create(eventNames().inputEvent, true, false)); |
| 2666 } | 2666 } |
| 2667 | 2667 |
| 2668 bool Node::disabled() const | 2668 bool Node::disabled() const |
| 2669 { | 2669 { |
| 2670 return false; | 2670 return false; |
| 2671 } | 2671 } |
| 2672 | 2672 |
| 2673 void Node::defaultEventHandler(Event* event) | 2673 void Node::defaultEventHandler(Event* event) |
| 2674 { | 2674 { |
| 2675 if (event->target() != this) | 2675 if (event->target() != this) |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2828 node->showTreeForThis(); | 2828 node->showTreeForThis(); |
| 2829 } | 2829 } |
| 2830 | 2830 |
| 2831 void showNodePath(const WebCore::Node* node) | 2831 void showNodePath(const WebCore::Node* node) |
| 2832 { | 2832 { |
| 2833 if (node) | 2833 if (node) |
| 2834 node->showNodePathForThis(); | 2834 node->showNodePathForThis(); |
| 2835 } | 2835 } |
| 2836 | 2836 |
| 2837 #endif | 2837 #endif |
| OLD | NEW |