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 2316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2327 ImageLoader::dispatchPendingErrorEvents(); | 2327 ImageLoader::dispatchPendingErrorEvents(); |
2328 | 2328 |
2329 HTMLLinkElement::dispatchPendingLoadEvents(); | 2329 HTMLLinkElement::dispatchPendingLoadEvents(); |
2330 HTMLStyleElement::dispatchPendingLoadEvents(); | 2330 HTMLStyleElement::dispatchPendingLoadEvents(); |
2331 } | 2331 } |
2332 | 2332 |
2333 // JS running below could remove the frame or destroy the RenderView so we c
all | 2333 // JS running below could remove the frame or destroy the RenderView so we c
all |
2334 // those two functions repeatedly and don't save them on the stack. | 2334 // those two functions repeatedly and don't save them on the stack. |
2335 | 2335 |
2336 // To align the HTML load event and the SVGLoad event for the outermost <svg
> element, fire it from | 2336 // To align the HTML load event and the SVGLoad event for the outermost <svg
> element, fire it from |
2337 // here, instead of doing it from SVGElement::finishedParsingChildren (if ex
ternalResourcesRequired="false", | 2337 // here, instead of doing it from SVGElement::finishedParsingChildren. |
2338 // which is the default, for ='true' its fired at a later time, once all ext
ernal resources finished loading). | |
2339 if (svgExtensions()) | 2338 if (svgExtensions()) |
2340 accessSVGExtensions()->dispatchSVGLoadEventToOutermostSVGElements(); | 2339 accessSVGExtensions()->dispatchSVGLoadEventToOutermostSVGElements(); |
2341 | 2340 |
2342 if (protectedWindow) | 2341 if (protectedWindow) |
2343 protectedWindow->documentWasClosed(); | 2342 protectedWindow->documentWasClosed(); |
2344 | 2343 |
2345 if (frame()) { | 2344 if (frame()) { |
2346 frame()->loader().client()->dispatchDidHandleOnloadEvents(); | 2345 frame()->loader().client()->dispatchDidHandleOnloadEvents(); |
2347 loader()->applicationCacheHost()->stopDeferringEvents(); | 2346 loader()->applicationCacheHost()->stopDeferringEvents(); |
2348 } | 2347 } |
(...skipping 2915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5264 } | 5263 } |
5265 | 5264 |
5266 FastTextAutosizer* Document::fastTextAutosizer() | 5265 FastTextAutosizer* Document::fastTextAutosizer() |
5267 { | 5266 { |
5268 if (!m_fastTextAutosizer && RuntimeEnabledFeatures::fastTextAutosizingEnable
d()) | 5267 if (!m_fastTextAutosizer && RuntimeEnabledFeatures::fastTextAutosizingEnable
d()) |
5269 m_fastTextAutosizer = FastTextAutosizer::create(this); | 5268 m_fastTextAutosizer = FastTextAutosizer::create(this); |
5270 return m_fastTextAutosizer.get(); | 5269 return m_fastTextAutosizer.get(); |
5271 } | 5270 } |
5272 | 5271 |
5273 } // namespace WebCore | 5272 } // namespace WebCore |
OLD | NEW |