| 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 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1547 | 1547 |
| 1548 if (startNode && startNode->renderer()) { | 1548 if (startNode && startNode->renderer()) { |
| 1549 if (LocalFrame* frame = document().frame()) | 1549 if (LocalFrame* frame = document().frame()) |
| 1550 frame->eventHandler().defaultWheelEventHandler(startNode, wheelE
vent); | 1550 frame->eventHandler().defaultWheelEventHandler(startNode, wheelE
vent); |
| 1551 } | 1551 } |
| 1552 } else if (event->type() == EventTypeNames::webkitEditableContentChanged) { | 1552 } else if (event->type() == EventTypeNames::webkitEditableContentChanged) { |
| 1553 dispatchInputEvent(); | 1553 dispatchInputEvent(); |
| 1554 } | 1554 } |
| 1555 } | 1555 } |
| 1556 | 1556 |
| 1557 void Node::willCallDefaultEventHandler(const Event&) | |
| 1558 { | |
| 1559 } | |
| 1560 | |
| 1561 bool Node::willRespondToMouseMoveEvents() | 1557 bool Node::willRespondToMouseMoveEvents() |
| 1562 { | 1558 { |
| 1563 return hasEventListeners(EventTypeNames::mousemove) || hasEventListeners(Eve
ntTypeNames::mouseover) || hasEventListeners(EventTypeNames::mouseout); | 1559 return hasEventListeners(EventTypeNames::mousemove) || hasEventListeners(Eve
ntTypeNames::mouseover) || hasEventListeners(EventTypeNames::mouseout); |
| 1564 } | 1560 } |
| 1565 | 1561 |
| 1566 bool Node::willRespondToMouseClickEvents() | 1562 bool Node::willRespondToMouseClickEvents() |
| 1567 { | 1563 { |
| 1568 return isContentEditable(UserSelectAllIsAlwaysNonEditable) || hasEventListen
ers(EventTypeNames::mouseup) || hasEventListeners(EventTypeNames::mousedown) ||
hasEventListeners(EventTypeNames::click) || hasEventListeners(EventTypeNames::DO
MActivate); | 1564 return isContentEditable(UserSelectAllIsAlwaysNonEditable) || hasEventListen
ers(EventTypeNames::mouseup) || hasEventListeners(EventTypeNames::mousedown) ||
hasEventListeners(EventTypeNames::click) || hasEventListeners(EventTypeNames::DO
MActivate); |
| 1569 } | 1565 } |
| 1570 | 1566 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1742 node->showTreeForThis(); | 1738 node->showTreeForThis(); |
| 1743 } | 1739 } |
| 1744 | 1740 |
| 1745 void showNodePath(const blink::Node* node) | 1741 void showNodePath(const blink::Node* node) |
| 1746 { | 1742 { |
| 1747 if (node) | 1743 if (node) |
| 1748 node->showNodePathForThis(); | 1744 node->showNodePathForThis(); |
| 1749 } | 1745 } |
| 1750 | 1746 |
| 1751 #endif | 1747 #endif |
| OLD | NEW |