| 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 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1765 notifyLayoutTreeOfSubtreeChanges(); | 1765 notifyLayoutTreeOfSubtreeChanges(); |
| 1766 | 1766 |
| 1767 // As a result of the style recalculation, the currently hovered element mig
ht have been | 1767 // As a result of the style recalculation, the currently hovered element mig
ht have been |
| 1768 // detached (for example, by setting display:none in the :hover style), sche
dule another mouseMove event | 1768 // detached (for example, by setting display:none in the :hover style), sche
dule another mouseMove event |
| 1769 // to check if any other elements ended up under the mouse pointer due to re
-layout. | 1769 // to check if any other elements ended up under the mouse pointer due to re
-layout. |
| 1770 if (hoverNode() && !hoverNode()->layoutObject() && frame()) | 1770 if (hoverNode() && !hoverNode()->layoutObject() && frame()) |
| 1771 frame()->eventHandler().dispatchFakeMouseMoveEventSoon(); | 1771 frame()->eventHandler().dispatchFakeMouseMoveEventSoon(); |
| 1772 | 1772 |
| 1773 if (m_focusedElement && !m_focusedElement->isFocusable()) | 1773 if (m_focusedElement && !m_focusedElement->isFocusable()) |
| 1774 clearFocusedElementSoon(); | 1774 clearFocusedElementSoon(); |
| 1775 layoutView()->clearHitTestCache(); |
| 1775 | 1776 |
| 1776 ASSERT(!m_timeline->hasOutdatedAnimation()); | 1777 ASSERT(!m_timeline->hasOutdatedAnimation()); |
| 1777 | 1778 |
| 1778 TRACE_EVENT_END1("blink,devtools.timeline", "UpdateLayoutTree", "elementCoun
t", m_styleRecalcElementCounter); | 1779 TRACE_EVENT_END1("blink,devtools.timeline", "UpdateLayoutTree", "elementCoun
t", m_styleRecalcElementCounter); |
| 1779 InspectorInstrumentation::didRecalculateStyle(cookie, m_styleRecalcElementCo
unter); | 1780 InspectorInstrumentation::didRecalculateStyle(cookie, m_styleRecalcElementCo
unter); |
| 1780 } | 1781 } |
| 1781 | 1782 |
| 1782 void Document::updateStyle(StyleRecalcChange change) | 1783 void Document::updateStyle(StyleRecalcChange change) |
| 1783 { | 1784 { |
| 1784 TRACE_EVENT_BEGIN0("blink,blink_style", "Document::updateStyle"); | 1785 TRACE_EVENT_BEGIN0("blink,blink_style", "Document::updateStyle"); |
| (...skipping 3953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5738 #ifndef NDEBUG | 5739 #ifndef NDEBUG |
| 5739 using namespace blink; | 5740 using namespace blink; |
| 5740 void showLiveDocumentInstances() | 5741 void showLiveDocumentInstances() |
| 5741 { | 5742 { |
| 5742 WeakDocumentSet& set = liveDocumentSet(); | 5743 WeakDocumentSet& set = liveDocumentSet(); |
| 5743 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 5744 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 5744 for (Document* document : set) | 5745 for (Document* document : set) |
| 5745 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().str
ing().utf8().data()); | 5746 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().str
ing().utf8().data()); |
| 5746 } | 5747 } |
| 5747 #endif | 5748 #endif |
| OLD | NEW |