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 2647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2658 void Node::dispatchBlurEvent(PassRefPtr<Node> newFocusedNode) | 2658 void Node::dispatchBlurEvent(PassRefPtr<Node> newFocusedNode) |
2659 { | 2659 { |
2660 if (document()->page()) | 2660 if (document()->page()) |
2661 document()->page()->chrome()->client()->elementDidBlur(this); | 2661 document()->page()->chrome()->client()->elementDidBlur(this); |
2662 | 2662 |
2663 EventDispatcher::dispatchEvent(this, BlurEventDispatchMediator::create(newFo
cusedNode)); | 2663 EventDispatcher::dispatchEvent(this, BlurEventDispatchMediator::create(newFo
cusedNode)); |
2664 } | 2664 } |
2665 | 2665 |
2666 void Node::dispatchChangeEvent() | 2666 void Node::dispatchChangeEvent() |
2667 { | 2667 { |
2668 dispatchEvent(Event::create(eventNames().changeEvent, true, false)); | 2668 dispatchScopedEvent(Event::create(eventNames().changeEvent, true, false)); |
2669 } | 2669 } |
2670 | 2670 |
2671 void Node::dispatchInputEvent() | 2671 void Node::dispatchInputEvent() |
2672 { | 2672 { |
2673 dispatchEvent(Event::create(eventNames().inputEvent, true, false)); | 2673 dispatchScopedEvent(Event::create(eventNames().inputEvent, true, false)); |
2674 } | 2674 } |
2675 | 2675 |
2676 bool Node::disabled() const | 2676 bool Node::disabled() const |
2677 { | 2677 { |
2678 return false; | 2678 return false; |
2679 } | 2679 } |
2680 | 2680 |
2681 void Node::defaultEventHandler(Event* event) | 2681 void Node::defaultEventHandler(Event* event) |
2682 { | 2682 { |
2683 if (event->target() != this) | 2683 if (event->target() != this) |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2866 node->showTreeForThis(); | 2866 node->showTreeForThis(); |
2867 } | 2867 } |
2868 | 2868 |
2869 void showNodePath(const WebCore::Node* node) | 2869 void showNodePath(const WebCore::Node* node) |
2870 { | 2870 { |
2871 if (node) | 2871 if (node) |
2872 node->showNodePathForThis(); | 2872 node->showNodePathForThis(); |
2873 } | 2873 } |
2874 | 2874 |
2875 #endif | 2875 #endif |
OLD | NEW |