| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 #include "core/page/FrameTree.h" | 171 #include "core/page/FrameTree.h" |
| 172 #include "core/page/Page.h" | 172 #include "core/page/Page.h" |
| 173 #include "core/page/PointerLockController.h" | 173 #include "core/page/PointerLockController.h" |
| 174 #include "core/page/scrolling/ScrollingCoordinator.h" | 174 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 175 #include "core/rendering/HitTestResult.h" | 175 #include "core/rendering/HitTestResult.h" |
| 176 #include "core/rendering/RenderPart.h" | 176 #include "core/rendering/RenderPart.h" |
| 177 #include "core/rendering/RenderView.h" | 177 #include "core/rendering/RenderView.h" |
| 178 #include "core/rendering/TextAutosizer.h" | 178 #include "core/rendering/TextAutosizer.h" |
| 179 #include "core/rendering/compositing/RenderLayerCompositor.h" | 179 #include "core/rendering/compositing/RenderLayerCompositor.h" |
| 180 #include "core/svg/SVGDocumentExtensions.h" | 180 #include "core/svg/SVGDocumentExtensions.h" |
| 181 #include "core/svg/SVGFontFaceElement.h" | |
| 182 #include "core/svg/SVGTitleElement.h" | 181 #include "core/svg/SVGTitleElement.h" |
| 183 #include "core/svg/SVGUseElement.h" | 182 #include "core/svg/SVGUseElement.h" |
| 184 #include "core/workers/SharedWorkerRepositoryClient.h" | 183 #include "core/workers/SharedWorkerRepositoryClient.h" |
| 185 #include "core/xml/XSLTProcessor.h" | 184 #include "core/xml/XSLTProcessor.h" |
| 186 #include "core/xml/parser/XMLDocumentParser.h" | 185 #include "core/xml/parser/XMLDocumentParser.h" |
| 187 #include "platform/DateComponents.h" | 186 #include "platform/DateComponents.h" |
| 188 #include "platform/EventDispatchForbiddenScope.h" | 187 #include "platform/EventDispatchForbiddenScope.h" |
| 189 #include "platform/Language.h" | 188 #include "platform/Language.h" |
| 190 #include "platform/Logging.h" | 189 #include "platform/Logging.h" |
| 191 #include "platform/RuntimeEnabledFeatures.h" | 190 #include "platform/RuntimeEnabledFeatures.h" |
| (...skipping 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1815 | 1814 |
| 1816 // As a result of the style recalculation, the currently hovered element mig
ht have been | 1815 // As a result of the style recalculation, the currently hovered element mig
ht have been |
| 1817 // detached (for example, by setting display:none in the :hover style), sche
dule another mouseMove event | 1816 // detached (for example, by setting display:none in the :hover style), sche
dule another mouseMove event |
| 1818 // to check if any other elements ended up under the mouse pointer due to re
-layout. | 1817 // to check if any other elements ended up under the mouse pointer due to re
-layout. |
| 1819 if (hoverNode() && !hoverNode()->renderer() && frame()) | 1818 if (hoverNode() && !hoverNode()->renderer() && frame()) |
| 1820 frame()->eventHandler().dispatchFakeMouseMoveEventSoon(); | 1819 frame()->eventHandler().dispatchFakeMouseMoveEventSoon(); |
| 1821 | 1820 |
| 1822 if (m_focusedElement && !m_focusedElement->isFocusable()) | 1821 if (m_focusedElement && !m_focusedElement->isFocusable()) |
| 1823 clearFocusedElementSoon(); | 1822 clearFocusedElementSoon(); |
| 1824 | 1823 |
| 1825 #if ENABLE(SVG_FONTS) | |
| 1826 if (svgExtensions()) | |
| 1827 accessSVGExtensions().removePendingSVGFontFaceElementsForRemoval(); | |
| 1828 #endif | |
| 1829 | |
| 1830 ASSERT(!m_timeline->hasOutdatedAnimationPlayer()); | 1824 ASSERT(!m_timeline->hasOutdatedAnimationPlayer()); |
| 1831 | 1825 |
| 1832 TRACE_EVENT_END1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "Recalculat
eStyles", "elementCount", m_styleRecalcElementCounter); | 1826 TRACE_EVENT_END1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "Recalculat
eStyles", "elementCount", m_styleRecalcElementCounter); |
| 1833 TRACE_EVENT_END1("blink", "Document::updateRenderTree", "elementCount", m_st
yleRecalcElementCounter); | 1827 TRACE_EVENT_END1("blink", "Document::updateRenderTree", "elementCount", m_st
yleRecalcElementCounter); |
| 1834 // FIXME(361045): remove InspectorInstrumentation calls once DevTools Timeli
ne migrates to tracing. | 1828 // FIXME(361045): remove InspectorInstrumentation calls once DevTools Timeli
ne migrates to tracing. |
| 1835 InspectorInstrumentation::didRecalculateStyle(cookie, m_styleRecalcElementCo
unter); | 1829 InspectorInstrumentation::didRecalculateStyle(cookie, m_styleRecalcElementCo
unter); |
| 1836 } | 1830 } |
| 1837 | 1831 |
| 1838 void Document::updateStyle(StyleRecalcChange change) | 1832 void Document::updateStyle(StyleRecalcChange change) |
| 1839 { | 1833 { |
| (...skipping 3983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5823 #ifndef NDEBUG | 5817 #ifndef NDEBUG |
| 5824 using namespace blink; | 5818 using namespace blink; |
| 5825 void showLiveDocumentInstances() | 5819 void showLiveDocumentInstances() |
| 5826 { | 5820 { |
| 5827 WeakDocumentSet& set = liveDocumentSet(); | 5821 WeakDocumentSet& set = liveDocumentSet(); |
| 5828 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 5822 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 5829 for (Document* document : set) | 5823 for (Document* document : set) |
| 5830 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().str
ing().utf8().data()); | 5824 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().str
ing().utf8().data()); |
| 5831 } | 5825 } |
| 5832 #endif | 5826 #endif |
| OLD | NEW |