Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: Source/WebCore/dom/Node.cpp

Issue 11360201: Merge 132983 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/range/range-type-change-onchange-expected.txt ('k') | Source/WebCore/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698