| 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 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
| 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
| (...skipping 5317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5328 if (ancestorNode && nodesToAddToChain[i] == ancestorNode) | 5328 if (ancestorNode && nodesToAddToChain[i] == ancestorNode) |
| 5329 sawCommonAncestor = true; | 5329 sawCommonAncestor = true; |
| 5330 if (allowActiveChanges) | 5330 if (allowActiveChanges) |
| 5331 nodesToAddToChain[i]->setActive(true); | 5331 nodesToAddToChain[i]->setActive(true); |
| 5332 if (!sawCommonAncestor) { | 5332 if (!sawCommonAncestor) { |
| 5333 nodesToAddToChain[i]->setHovered(true); | 5333 nodesToAddToChain[i]->setHovered(true); |
| 5334 if (event && (ancestorHasCapturingMouseenterListener || nodesToAddTo
Chain[i]->hasEventListeners(EventTypeNames::mouseenter))) | 5334 if (event && (ancestorHasCapturingMouseenterListener || nodesToAddTo
Chain[i]->hasEventListeners(EventTypeNames::mouseenter))) |
| 5335 nodesToAddToChain[i]->dispatchMouseEvent(*event, EventTypeNames:
:mouseenter, 0, oldHoverNode.get()); | 5335 nodesToAddToChain[i]->dispatchMouseEvent(*event, EventTypeNames:
:mouseenter, 0, oldHoverNode.get()); |
| 5336 } | 5336 } |
| 5337 } | 5337 } |
| 5338 | |
| 5339 updateRenderTreeIfNeeded(); | |
| 5340 } | 5338 } |
| 5341 | 5339 |
| 5342 bool Document::haveStylesheetsLoaded() const | 5340 bool Document::haveStylesheetsLoaded() const |
| 5343 { | 5341 { |
| 5344 return m_styleEngine->haveStylesheetsLoaded(); | 5342 return m_styleEngine->haveStylesheetsLoaded(); |
| 5345 } | 5343 } |
| 5346 | 5344 |
| 5347 Locale& Document::getCachedLocale(const AtomicString& locale) | 5345 Locale& Document::getCachedLocale(const AtomicString& locale) |
| 5348 { | 5346 { |
| 5349 AtomicString localeKey = locale; | 5347 AtomicString localeKey = locale; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5527 (*it)->invalidateCache(attrName); | 5525 (*it)->invalidateCache(attrName); |
| 5528 } | 5526 } |
| 5529 | 5527 |
| 5530 void Document::trace(Visitor* visitor) | 5528 void Document::trace(Visitor* visitor) |
| 5531 { | 5529 { |
| 5532 Supplementable<Document>::trace(visitor); | 5530 Supplementable<Document>::trace(visitor); |
| 5533 ContainerNode::trace(visitor); | 5531 ContainerNode::trace(visitor); |
| 5534 } | 5532 } |
| 5535 | 5533 |
| 5536 } // namespace WebCore | 5534 } // namespace WebCore |
| OLD | NEW |