Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: Source/core/dom/Document.cpp

Issue 62083002: Remove support for the externalResourcesRequired attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline test Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/dom/DOMImplementation.cpp ('k') | Source/core/svg/SVGAElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/dom/DOMImplementation.cpp ('k') | Source/core/svg/SVGAElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698