| 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 2860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2871 } | 2871 } |
| 2872 | 2872 |
| 2873 void Document::didLoadAllImports() | 2873 void Document::didLoadAllImports() |
| 2874 { | 2874 { |
| 2875 if (!haveStylesheetsLoaded()) | 2875 if (!haveStylesheetsLoaded()) |
| 2876 return; | 2876 return; |
| 2877 | 2877 |
| 2878 didLoadAllScriptBlockingResources(); | 2878 didLoadAllScriptBlockingResources(); |
| 2879 } | 2879 } |
| 2880 | 2880 |
| 2881 void Document::didAddPendingResource() |
| 2882 { |
| 2883 if (m_fetcher) |
| 2884 m_fetcher->incrementRequestCount(); |
| 2885 } |
| 2886 |
| 2887 void Document::didRemovePendingResource() |
| 2888 { |
| 2889 if (m_fetcher) |
| 2890 m_fetcher->decrementRequestCount(); |
| 2891 if (LocalFrame* frame = this->frame()) |
| 2892 frame->loader().loadDone(); |
| 2893 } |
| 2894 |
| 2881 void Document::didRemoveAllPendingStylesheet() | 2895 void Document::didRemoveAllPendingStylesheet() |
| 2882 { | 2896 { |
| 2883 m_needsNotifyRemoveAllPendingStylesheet = false; | 2897 m_needsNotifyRemoveAllPendingStylesheet = false; |
| 2884 | 2898 |
| 2885 styleResolverChanged(RecalcStyleDeferred, hasNodesWithPlaceholderStyle() ? F
ullStyleUpdate : AnalyzedStyleUpdate); | 2899 styleResolverChanged(RecalcStyleDeferred, hasNodesWithPlaceholderStyle() ? F
ullStyleUpdate : AnalyzedStyleUpdate); |
| 2886 | 2900 |
| 2887 if (m_import) | 2901 if (m_import) |
| 2888 m_import->didRemoveAllPendingStylesheet(); | 2902 m_import->didRemoveAllPendingStylesheet(); |
| 2889 if (!haveImportsLoaded()) | 2903 if (!haveImportsLoaded()) |
| 2890 return; | 2904 return; |
| (...skipping 2606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5497 } | 5511 } |
| 5498 | 5512 |
| 5499 void Document::invalidateNodeListCaches(const QualifiedName* attrName) | 5513 void Document::invalidateNodeListCaches(const QualifiedName* attrName) |
| 5500 { | 5514 { |
| 5501 HashSet<LiveNodeListBase*>::iterator end = m_listsInvalidatedAtDocument.end(
); | 5515 HashSet<LiveNodeListBase*>::iterator end = m_listsInvalidatedAtDocument.end(
); |
| 5502 for (HashSet<LiveNodeListBase*>::iterator it = m_listsInvalidatedAtDocument.
begin(); it != end; ++it) | 5516 for (HashSet<LiveNodeListBase*>::iterator it = m_listsInvalidatedAtDocument.
begin(); it != end; ++it) |
| 5503 (*it)->invalidateCache(attrName); | 5517 (*it)->invalidateCache(attrName); |
| 5504 } | 5518 } |
| 5505 | 5519 |
| 5506 } // namespace WebCore | 5520 } // namespace WebCore |
| OLD | NEW |